git: 9front

Download patch

ref: 218cefc98666f36be13d2a9828581177e9513356
parent: b02b0da62d72767c22af5ecaa7b5ebde9ecb6c6b
author: stanley lieber <stanley.lieber@gmail.com>
date: Sun Apr 17 16:19:18 EDT 2011

usb drives won't match sd??. use sd[A-Z][0-9]* instead.

--- a/sys/src/9/boot/bootrc
+++ b/sys/src/9/boot/bootrc
@@ -56,7 +56,7 @@
 fn readmethod{
 	echo
 	echo Storage devices
-	for(i in /dev/sd??){
+	for(i in /dev/sd[A-Z][0-9]*){
 		echo -n local!^$i'	'
 		echo `{sed 's/inquiry[ ]+//g; q' $i/ctl}\
 			partitions: `{cat $i/ctl | grep part | awk '{print $2}'}
--