]> git.lizzy.rs Git - plan9front.git/blob - lib/namespace
remove .dummy files and replace it by sys/lib/rootstub script
[plan9front.git] / lib / namespace
1 # root
2 mount -aC #s/boot /root $rootspec
3 bind -a $rootdir /
4 bind -c $rootdir/mnt /mnt
5
6 # kernel devices
7 bind #c /dev
8 bind #d /fd
9 bind -c #e /env
10 bind #p /proc
11 bind -c #s /srv
12 bind -a #ยค /dev
13 bind -a #S /dev
14
15 # mount points
16 mount -a /srv/slashn /n
17
18 # authentication
19 mount -a /srv/factotum /mnt
20
21 # standard bin
22 bind /$cputype/bin /bin
23 bind -a /rc/bin /bin
24
25 # internal networks
26 # mount -a /srv/ip /net
27 bind -a #l /net
28 bind -a #I /net
29 mount -a /srv/cs /net
30 mount -a /srv/dns /net
31 mount -a /srv/net /net
32
33 mount -qC /srv/cwfs /n/other other
34 bind -qc /n/other/usr/$user/tmp /usr/$user/tmp
35
36 bind -c /usr/$user/tmp /tmp
37 cd /usr/$user
38
39 . /lib/namespace.local
40 . /lib/namespace.$sysname
41 . /cfg/$sysname/namespace