ref: 55a28480b2ca7ca66dbd6e3e626f74221bf6c392
parent: 39b26c79b8b9b74585898bf7a06b72fb6781a8a8
author: stanley lieber <[email protected]>
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}'}