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
+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
bind -c $home/tmp /tmp
mail -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){
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
case con
prompt=('cpu% ' ' ')
startupasfs
- news
}
!
cat > lib/plumbing <<!