4 echo local devices found:
5 for(c in /dev/sd*/ctl){
6 d=`{echo $c | sed 's,/ctl,,g'}
7 echo $d':' `{sed 's/inquiry[ ]+//g; q' $c}
8 for(i in `{ls -p $d | grep -v -e 'ctl|raw'})
16 kern=`{echo $* | sed 's,.*!(.*)$,\1,g'}
18 # for now we only allow kernels in the same dev/part of $methodargs
19 if(~ $#kern 0 || ! ~ $#bootfile 0)
20 kern=`{echo $bootfile | sed 's,.*!(.*)$,\1,g'}
27 part=`{echo $* | sed 's,.*/([^ ]+),\1,g'}
31 must disk/kfs -n boot -f $*
32 case cwfs fscache fsworm w0 w1 w2 w3
33 must cwfs64x -n boot -f $*
35 must 9660srv -f $* boot
37 fatal unknown partition $part