2016-11-25 17:18:40 +01:00
|
|
|
|
# root
|
|
|
|
|
mount -aC #s/boot /root $rootspec
|
|
|
|
|
bind -a $rootdir /
|
|
|
|
|
bind -c $rootdir/mnt /mnt
|
|
|
|
|
|
|
|
|
|
# kernel devices
|
2016-12-31 00:46:34 +01:00
|
|
|
|
bind #0 /dev
|
|
|
|
|
bind -a #c /dev
|
2016-11-25 17:18:40 +01:00
|
|
|
|
bind #d /fd
|
|
|
|
|
bind -c #e /env
|
|
|
|
|
bind #p /proc
|
|
|
|
|
bind -c #s /srv
|
|
|
|
|
bind -q #σ /shr
|
|
|
|
|
bind -a #¤ /dev
|
|
|
|
|
bind -a #S /dev
|
|
|
|
|
bind -b #k /dev
|
|
|
|
|
bind -a #κ /dev
|
|
|
|
|
bind -a #u /dev
|
|
|
|
|
bind -b #P /dev
|
|
|
|
|
|
|
|
|
|
# screen console
|
|
|
|
|
mount -b /srv/screenconsole /dev
|
|
|
|
|
|
|
|
|
|
# mount points
|
|
|
|
|
mount -a /srv/slashn /n
|
|
|
|
|
mount -a /boot /cmd
|
|
|
|
|
|
|
|
|
|
# authentication
|
|
|
|
|
mount -a /srv/factotum /mnt
|
|
|
|
|
|
|
|
|
|
# standard bin
|
2017-10-22 13:22:37 +02:00
|
|
|
|
bind /arch/$CPUTYPE/cmd /cmd
|
2016-11-25 17:18:40 +01:00
|
|
|
|
bind -a /arch/rc/cmd /cmd
|
|
|
|
|
|
|
|
|
|
# internal networks
|
|
|
|
|
# mount -a /srv/ip /net
|
|
|
|
|
bind -a #l /net
|
|
|
|
|
bind -a #I /net
|
|
|
|
|
mount -a /srv/cs /net
|
|
|
|
|
mount -a /srv/dns /net
|
|
|
|
|
mount -a /srv/net /net
|
|
|
|
|
mount -b /srv/ssh /net
|
|
|
|
|
|
|
|
|
|
|
2017-10-22 13:22:37 +02:00
|
|
|
|
bind -c /usr/$USER/tmp /tmp
|
|
|
|
|
cd /usr/$USER
|
2016-11-25 17:18:40 +01:00
|
|
|
|
|
|
|
|
|
. /lib/namespace.local
|
2017-10-22 13:22:37 +02:00
|
|
|
|
. /lib/namespace.$SYSNAME
|
|
|
|
|
. /cfg/$SYSNAME/namespace
|