plan9fox/lib/namespace

43 lines
743 B
Text
Raw Normal View History

# root
mount -aC #s/boot /root $rootspec
bind -a $rootdir /
# kernel devices
bind #c /dev
bind #d /fd
bind -c #e /env
bind #p /proc
bind -c #s /srv
2011-08-15 23:49:37 +00:00
bind -q #σ /shr
bind -a #¤ /dev
2011-05-10 09:14:30 +00:00
# authentication
2011-12-02 00:38:21 +00:00
mount -b /srv/factotum /mnt
# mount points
mount -a /srv/slashn /n
2011-12-02 05:05:23 +00:00
mount -a /srv/slashmnt /mnt
mount -a /srv/mntexport /mnt/exportfs
# standard bin
bind /$cputype/bin /bin
bind -a /rc/bin /bin
# 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 -qC /srv/boot /n/other other
bind -qc /n/other/usr/$user/tmp /usr/$user/tmp
2011-04-22 02:40:11 +00:00
bind -c /usr/$user/tmp /tmp
cd /usr/$user
. /lib/namespace.local
. /lib/namespace.$sysname
. /cfg/$sysname/namespace