ref: 5127a388df95d10671e41a6f7ddddee8dff3ed32
parent: a5e2b9ad4d0ab7c9e70af520abb8dc2d026308b6
author: cinap_lenrek <cinap_lenrek@localhost>
date: Thu Apr 21 07:15:52 EDT 2011
boot(8): properly invoke filesystem wihout overriding service name to boot
--- a/sys/src/9/boot/local.rc
+++ b/sys/src/9/boot/local.rc
@@ -31,10 +31,9 @@
fatal unknown fstype $1
switch($t){case 9660
- must 9660srv -f $* boot
+ t=9660srv
case kfs
- must disk/kfs -n boot -f $*
- case *
- must $t -n boot -f $*
+ t=disk/kfs
}
+ {$t -s -f $* &} <[0=1] | echo 0 >/srv/boot}
--
⑨