create users' tmp/ directories with the -t flag (i.e. temporary files) so they won't be stored to venti. Reference: /n/sources/patch/applied/sys-lib-newuser Date: Wed Jun 16 19:36:26 CES 2004 --- /sys/lib/newuser Wed Jun 16 19:36:26 2004 +++ /sys/lib/newuser Wed Jun 16 19:36:26 2004 @@ -4,12 +4,13 @@ home=/usr/$user if(test -f $home/lib/profile){ echo user directories already made - exit no + #exit no } cd $home x='$' mkdir bin bin/rc bin/mips bin/386 mkdir lib tmp +chmod +t tmp # don't store tmp in venti mkdir /cron/$user chmod 775 /cron/$user chgrp $user /cron/$user @@ -19,7 +20,8 @@ bind -a $x^home/bin/rc /bin bind -a $x^home/bin/$x^cputype /bin bind -c $x^home/tmp /tmp -font = /lib/font/bit/pelm/euro.9.font +upasname=$user^'@plan9.ucalgary.ca' +font = /lib/font/bit/10646/7x13/7x13.font switch($x^service){ case terminal plumber @@ -45,8 +47,9 @@ news if (! test -e /mnt/term/mnt/wsys) { # cpu call from drawterm - font=/lib/font/bit/pelm/latin1.8.font - exec rio + #font=/lib/font/bit/pelm/latin1.8.font + plumber + exec rio -s } case con prompt=('cpu% ' ' ') @@ -61,5 +64,8 @@ include basic ! + +# create mailbox +mail -c . lib/profile