plan9front/lib/namespace

43 lines
732 B
Plaintext
Raw Normal View History

# root
mount -aC #s/boot /root $rootspec
bind -a $rootdir /
bind -c $rootdir/mnt /mnt
# kernel devices
bind #c /dev
bind #d /fd
bind -c #e /env
bind #p /proc
bind -c #s /srv
2011-08-15 16:49:37 -07:00
bind -q #σ /shr
bind -a #¤ /dev
2011-05-10 02:14:30 -07:00
# mount points
mount -a /srv/slashn /n
# authentication
mount -a /srv/factotum /mnt
# 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/cwfs /n/other other
bind -qc /n/other/usr/$user/tmp /usr/$user/tmp
bind -qc /n/other/dist /dist
2011-04-21 19:40:11 -07:00
bind -c /usr/$user/tmp /tmp
cd /usr/$user
. /lib/namespace.local
. /lib/namespace.$sysname
. /cfg/$sysname/namespace