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