|
|
@ -88,7 +88,7 @@ findmediamount() {
|
|
|
|
# don't skip device mapper devices. Even the craziest scenario
|
|
|
|
# don't skip device mapper devices. Even the craziest scenario
|
|
|
|
# deserves a fair chance.
|
|
|
|
# deserves a fair chance.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
for part in `ls /sys/block/${bsn}/${bsn}[0-9]* 2>/dev/null`
|
|
|
|
for part in `ls /sys/block/${bsn}/${bsn}*[0-9]* 2>/dev/null`
|
|
|
|
do
|
|
|
|
do
|
|
|
|
skip=1
|
|
|
|
skip=1
|
|
|
|
break;
|
|
|
|
break;
|
|
|
@ -143,6 +143,8 @@ devicelist(){
|
|
|
|
DEVICES="$DEVICES /dev/ubd* /dev/ubd/*"
|
|
|
|
DEVICES="$DEVICES /dev/ubd* /dev/ubd/*"
|
|
|
|
# iSeries devices
|
|
|
|
# iSeries devices
|
|
|
|
DEVICES="$DEVICES /dev/iseries/vcd*"
|
|
|
|
DEVICES="$DEVICES /dev/iseries/vcd*"
|
|
|
|
|
|
|
|
# builtin mmc/sd card reader devices
|
|
|
|
|
|
|
|
DEVICES="$DEVICES /dev/mmcblk* /dev/mmcblk*/*"
|
|
|
|
echo ${DEVICES}
|
|
|
|
echo ${DEVICES}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|