ref: 1e86963f80bf824efa08a59efda28b111408527b
parent: a96bc88d0703256c8105a94afafe597ac2128f90
author: stanley lieber <[email protected]>
date: Sat Apr 23 16:37:27 EDT 2011
moutdist: properly detect usb devices.
--- a/rc/bin/inst/mountdist
+++ b/rc/bin/inst/mountdist
@@ -45,7 +45,7 @@
echo Please wait... Scanning storage devices...
- parts=`{ls /dev/sd??/* >[2]/dev/null | grep -v '/(plan9.*|ctl|log|raw)$'}
+ parts=`{ls /dev/sd[A-Z][0-9]*/* >[2]/dev/null | grep -v '/(plan9.*|ctl|log|raw)$'}
for (i in $parts) {
echo -n ' '^$i
n=`{echo $i | sed 's;/;_;g'}