d=/n/sources/plan9 x=`{9fs sources; mount /srv/emelie /n/emelieother other} cd:V: /n/emelieother/rsc/plan9.iso /n/emelieother/rsc/plan9.iso:DV: t=/tmp/pdf.$pid mkdir $t #mv $d/sys/doc/*.pdf $t @{cd pc; mk cddisk; cd ..} rm -f $target bind pc/cddisk cdstub/bootdisk.img bind -a cdstub $d disk/mk9660 -9cj -v 'Plan 9 4th Edition' -s $d \ -b bootdisk.img $target #mv $t/*.pdf $d/sys/doc rm $t scan:V: replica/scan /sys/lib/dist/sources.replica web.protect/nplan9.iso.bz2 D.install:V: D=/n/roro/usr/rob/testplan9 9fs roro cp $D/sys/lib/dist/pc/ndisk /sys/lib/dist/web.protect/ndisk cp $D/sys/lib/dist/pc/9loaddebug /sys/lib/dist/web.protect/n9loaddebug reallyinstall:V: if(! ~ $sysname achille){ echo; echo; echo '*** this needs to run on achille.'; exit bad } cd web.protect for (i in plan9.iso.bz2 disk 9loaddebug vmware.tar.bz2){ if(test -f n$i){ mv $i _$i && { mv n$i $i || mv _$i $i } } } rm /srv/ramfs.9down4e /sys/lib/dist/startcache dump:V: rm -f /srv/9660.xxx 9660srv 9660.xxx mount /srv/9660.xxx /n/kremvax /n/emelieother/rsc/plan9.iso now=`{mtime /sys/lib/dist/web.protect/plan9.iso.bz2 | awk '{print $1}'} ls -l /rls/plan9/4e.iso disk/dump9660 -9cj -s /n/kremvax -n $now /rls/plan9/4e.iso ls -l /rls/plan9/4e.iso rm /srv/9660.xxx reencode:V: rm -f /n/emelieother/rsc/nplan9.iso rm -f /srv/9660.xxx 9660srv 9660.xxx mount /srv/9660.xxx /n/kremvax /n/emelieother/rsc/plan9.iso disk/mk9660 -9cj -v 'Plan 9 4th Edition' -s /n/kremvax \ -b bootdisk.img /n/emelieother/rsc/nplan9.iso rm /srv/9660.xxx