diff options
author | cinap_lenrek <cinap_lenrek@localhost> | 2011-04-29 12:50:51 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-04-29 12:50:51 +0000 |
commit | 840b3bf28aa0b38d78a400158d2b865bc22f42f4 (patch) | |
tree | 9fcda51789a0d72362e040d9eafbe63b44fba0ef /sys/lib/newuser | |
parent | eb7a73034c0636af0a32d0293d6ee2f65dad940f (diff) |
make /n/other work
Diffstat (limited to 'sys/lib/newuser')
-rwxr-xr-x | sys/lib/newuser | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/newuser b/sys/lib/newuser index ac2446b18..38c6072d7 100755 --- a/sys/lib/newuser +++ b/sys/lib/newuser @@ -12,7 +12,7 @@ mkdir bin bin/rc bin/mips bin/386 bin/power bin/arm mkdir lib tmp chmod +t tmp # try to create tmp space on other -9fs other >/dev/null >[2=1] && \ +mount -C /srv/cwfs /n/other other >/dev/null >[2=1] && \ mkdir -m 775 /n/other/usr/$user >/dev/null >[2=1] && \ mkdir -m 750 /n/other/usr/$user/tmp >/dev/null >[2=1] && \ bind -c /n/other/usr/$user/tmp $home/tmp @@ -24,6 +24,8 @@ 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 +bind -qc /n/other/usr/$x^user/tmp $x^home/tmp bind -c $x^home/tmp /tmp font = /lib/font/bit/pelm/euro.9.font switch($x^service){ @@ -48,7 +50,6 @@ case cpu prompt=('cpu% ' ' ') fn cpu%{ $x^* } startupasfs - news if (! test -e /mnt/term/mnt/wsys) { # cpu call from drawterm font=/lib/font/bit/pelm/latin1.8.font @@ -59,7 +60,6 @@ case cpu case con prompt=('cpu% ' ' ') startupasfs - news } ! cat > lib/plumbing <<! |