]> git.lizzy.rs Git - plan9front.git/blob - lib/namespace
kernel: page counts a ulong, not usize
[plan9front.git] / lib / namespace
1 # root
2 mount -aC #s/boot /root $rootspec
3 bind -a $rootdir /
4
5 # kernel devices
6 bind #c /dev
7 bind #d /fd
8 bind -c #e /env
9 bind #p /proc
10 bind -c #s /srv
11 bind -q #σ /shr
12 bind -a #¤ /dev
13 bind -qa #¶ /dev
14
15 # authentication
16 mount -b /srv/factotum /mnt
17
18 # mount points
19 mount -a /srv/slashn /n
20 mount -a /srv/slashmnt /mnt
21 mount -a /srv/mntexport /mnt/exportfs
22
23 # standard bin
24 bind /$cputype/bin /bin
25 bind -a /rc/bin /bin
26
27 # internal networks
28 # mount -a /srv/ip /net
29 bind -a #l /net
30 bind -a #I /net
31 mount -a /srv/cs /net
32 mount -a /srv/dns /net
33 mount -a /srv/net /net
34
35 mount -C /srv/boot /n/other other
36 bind -c /n/other/usr/$user/tmp /usr/$user/tmp
37
38 bind -c /usr/$user/tmp /tmp
39 cd /usr/$user
40
41 . /lib/namespace.local
42 . /lib/namespace.$sysname
43 . /cfg/$sysname/namespace