X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=lib%2Fnamespace;h=31e74bcfe8deafb69ca2e53df5941ea24bfdadb6;hb=dfb0bf24b35f5cabd062958117b6bd198d61b445;hp=42f69362345951c958f46a6d409cbeb1c644b91a;hpb=a96bc88d0703256c8105a94afafe597ac2128f90;p=plan9front.git diff --git a/lib/namespace b/lib/namespace old mode 100755 new mode 100644 index 42f693623..31e74bcfe --- 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,14 +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 - -# authentication -mount -a /srv/factotum /mnt +mount -a /srv/slashmnt /mnt +mount -a /srv/mntexport /mnt/exportfs # standard bin bind /$cputype/bin /bin @@ -30,7 +31,7 @@ mount -a /srv/cs /net mount -a /srv/dns /net mount -a /srv/net /net -mount -qC /srv/cwfs /n/other other +mount -qC /srv/boot /n/other other bind -qc /n/other/usr/$user/tmp /usr/$user/tmp bind -c /usr/$user/tmp /tmp