/lib/namespace: bind devtls to /net, mount /root after binding /srv

This commit is contained in:
cinap_lenrek 2022-12-23 14:43:26 +00:00
parent 9dde88f86b
commit 8dec598474

View file

@ -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