git: 9front

Download patch

ref: bdbfe5afd94b0e01eed33b3195e1b99f30f84816
parent: 4f9f5a6bc8fd6698771b7c8532878b729a8abe58
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Sat Jun 4 17:34:51 EDT 2011

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

--- a/rc/bin/inst/bootsetup
+++ b/rc/bin/inst/bootsetup
@@ -46,11 +46,12 @@
 
 	if(~ $need9fatformat yes){
 		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
 	}
 	logprog cp /tmp/plan9.ini /n/9fat/plan9.ini
 	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/9pccpuf /n/9fat/9pccpuf
 
--