]> git.lizzy.rs Git - plan9front.git/blob - lib/namespace
merge
[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
14 # mount points
15 mount -a /srv/slashn /n
16
17 # authentication
18 mount -a /srv/factotum /mnt
19
20 # standard bin
21 bind /$cputype/bin /bin
22 bind -a /rc/bin /bin
23
24 # internal networks
25 # mount -a /srv/ip /net
26 bind -a #l /net
27 bind -a #I /net
28 mount -a /srv/cs /net
29 mount -a /srv/dns /net
30 mount -a /srv/net /net
31
32 mount -qC /srv/cwfs /n/other other
33 bind -qc /n/other/usr/$user/tmp /usr/$user/tmp
34 bind -qc /n/other/dist /dist
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