mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
/lib/namespace: bind devtls to /net, mount /root after binding /srv
This commit is contained in:
parent
9dde88f86b
commit
8dec598474
1 changed files with 6 additions and 5 deletions
|
@ -1,7 +1,3 @@
|
|||
# root
|
||||
mount -aC #s/boot /root $rootspec
|
||||
bind -a $rootdir /
|
||||
|
||||
# kernel devices
|
||||
bind #c /dev
|
||||
bind #d /fd
|
||||
|
@ -12,6 +8,10 @@ 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
|
||||
|
||||
|
@ -22,13 +22,14 @@ mount -a /srv/mntexport /mnt/exportfs
|
|||
|
||||
# standard bin
|
||||
bind /$cputype/bin /bin
|
||||
bind $rootdir'/rc' /rc
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue