X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=lib%2Fnamespace;h=f98f62a2aa20026733208d706533ae8dea1b7b53;hb=12df6f9658de9237754629c75be82d8901a0dd0b;hp=81105f7e62980f1b5304839ad4c09a2b2da8ae4f;hpb=26c2845917cb4661a6e04e3b41d52fdc1338a2c4;p=plan9front.git diff --git a/lib/namespace b/lib/namespace old mode 100755 new mode 100644 index 81105f7e6..f98f62a2a --- a/lib/namespace +++ b/lib/namespace @@ -1,7 +1,6 @@ # root mount -aC #s/boot /root $rootspec bind -a $rootdir / -bind -c $rootdir/mnt /mnt # kernel devices bind #c /dev @@ -9,15 +8,16 @@ bind #d /fd bind -c #e /env bind #p /proc bind -c #s /srv +bind -q #σ /shr bind -a #¤ /dev -bind -a #S /dev + +# authentication +mount -b /srv/factotum /mnt # mount points mount -a /srv/slashn /n -mount -b /srv/cons /dev - -# authentication -mount -a /srv/factotum /mnt +mount -a /srv/slashmnt /mnt +mount -a /srv/mntexport /mnt/exportfs # standard bin bind /$cputype/bin /bin @@ -31,9 +31,8 @@ mount -a /srv/cs /net mount -a /srv/dns /net mount -a /srv/net /net -mount -qC /srv/cwfs /n/other other -bind -qc /n/other/usr/$user/tmp /usr/$user/tmp -bind -qc /n/other/dist /dist +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