diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-01-22 10:41:01 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-01-22 10:41:01 +0100 |
commit | 1b017b8db468ea5977eeaabce01a072f792599a6 (patch) | |
tree | 77006e4a12ec346f260795c654592c6b469073af | |
parent | 69e8a53ffe6c4d6032ba9425c89ac8b564aaf43b (diff) | |
download | plan9front-1b017b8db468ea5977eeaabce01a072f792599a6.tar.xz |
mount /n/other from /srv/boot instead of /srv/cwfs
this makes sure tcp boot will have ther user /tmp's
the same way as from local cwfs. we used /srv/cwfs
to prevent a deadlock with 9660srv as a root filesystem
which has been fixed now.
-rw-r--r-- | lib/namespace | 3 | ||||
-rw-r--r-- | sys/lib/dist/usr/glenda/lib/profile | 2 | ||||
-rwxr-xr-x | sys/lib/newuser | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/lib/namespace b/lib/namespace index 53735f04d..31e74bcfe 100644 --- a/lib/namespace +++ b/lib/namespace @@ -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 +mount -qC /srv/boot /n/other other bind -qc /n/other/usr/$user/tmp /usr/$user/tmp -bind -qc /n/other/dist /dist bind -c /usr/$user/tmp /tmp cd /usr/$user diff --git a/sys/lib/dist/usr/glenda/lib/profile b/sys/lib/dist/usr/glenda/lib/profile index 17d6313df..3d533f523 100644 --- a/sys/lib/dist/usr/glenda/lib/profile +++ b/sys/lib/dist/usr/glenda/lib/profile @@ -1,6 +1,6 @@ bind -a $home/bin/rc /bin bind -a $home/bin/$cputype /bin -mount -qC /srv/cwfs /n/other other +mount -qC /srv/boot /n/other other bind -qc /n/other/usr/$user/tmp $home/tmp bind -c $home/tmp /tmp if(! syscall create /tmp/xxx 1 0666 >[2]/dev/null) diff --git a/sys/lib/newuser b/sys/lib/newuser index 1fd4183e0..9f9253bdb 100755 --- a/sys/lib/newuser +++ b/sys/lib/newuser @@ -19,7 +19,7 @@ auth/cron -c cat > lib/profile <<! bind -a $x^home/bin/rc /bin bind -a $x^home/bin/$x^cputype /bin -mount -qC /srv/cwfs /n/other other +mount -qC /srv/boot /n/other other bind -qc /n/other/usr/$x^user/tmp $x^home/tmp bind -c $x^home/tmp /tmp font=/lib/font/bit/vga/unicode.font |