inst/bootsetup: dont use disk/format to add files to 9fat. use dossrv/wstat() to make 9bootfat continuous

This commit is contained in:
cinap_lenrek 2011-06-04 21:34:51 +00:00
parent f9c92129f3
commit a8b922169b

View file

@ -46,11 +46,12 @@ case go
if(~ $need9fatformat yes){ if(~ $need9fatformat yes){
log Initializing Plan 9 FAT partition. log Initializing Plan 9 FAT partition.
disk/format -r 2 -d -b /386/pbs $fat /n/newfs/386/9bootfat disk/format -r 2 -d -b /386/pbs $fat
mount -c /srv/dos /n/9fat $fat mount -c /srv/dos /n/9fat $fat
} }
logprog cp /tmp/plan9.ini /n/9fat/plan9.ini logprog cp /tmp/plan9.ini /n/9fat/plan9.ini
logprog cp /n/newfs/386/9bootfat /n/9fat/9bootfat logprog cp /n/newfs/386/9bootfat /n/9fat/9bootfat
logprog chmod +al /n/9fat/9bootfat
logprog cp /n/newfs/386/9pcf /n/9fat/9pcf logprog cp /n/newfs/386/9pcf /n/9fat/9pcf
logprog cp /n/newfs/386/9pccpuf /n/9fat/9pccpuf logprog cp /n/newfs/386/9pccpuf /n/9fat/9pccpuf