]> git.lizzy.rs Git - plan9front.git/blobdiff - lib/namespace
plumber: loop will go out of bounds when *++s == '\0'; replace with strstr
[plan9front.git] / lib / namespace
index 931cd02c5ddc09b6e7bb1115f21c8bb598447d7e..105e34be8e2b709e0579aa4aef2ace4bb2213dcb 100644 (file)
@@ -1,7 +1,6 @@
 # root
 mount -aC #s/boot /root $rootspec
 bind -a $rootdir /
-bind -c $rootdir/mnt /mnt
 
 # kernel devices
 bind #c /dev
@@ -11,12 +10,15 @@ bind #p /proc
 bind -c #s /srv
 bind -q #σ /shr
 bind -a #¤ /dev
+bind -qa #¶ /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,9 +32,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