diff options
author | cinap_lenrek <cinap_lenrek@localhost> | 2011-04-22 02:40:11 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-04-22 02:40:11 +0000 |
commit | 3d3afc5cbe0c86bad4128d21a69eb814c083919a (patch) | |
tree | f2d469f73852fddddde47a2c4f1c68d29ada6896 /sys/lib | |
parent | f246b097baec9ba853953073de3b47cdbe788063 (diff) |
use /n/other for tmp storage
Diffstat (limited to 'sys/lib')
-rw-r--r-- | sys/lib/newuser | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/lib/newuser b/sys/lib/newuser index 4f2e02145..ac2446b18 100644 --- a/sys/lib/newuser +++ b/sys/lib/newuser @@ -11,6 +11,11 @@ x='$' 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] && \ + 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 bind -c $home/tmp /tmp mail -c |