Changeset 2186 in MondoRescue for branches/2.2.9/mondo/src/restore-scripts
- Timestamp:
- Apr 30, 2009, 5:59:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/restore-scripts/mondo/format-and-kludge-vfat
r2085 r2186 63 63 64 64 device=$1 65 drive=`echo $device | sed s/[0-9]*[0-9]//` 65 echo $device | grep -Eq "/cciss/|/mapper/|/ida/" 66 if [ $? -eq "0" ]; then 67 drive=`echo $device | sed s/[0-9p]*[0-9]//` 68 else 69 drive=`echo $drive | sed s/[0-9]*[0-9]//` 70 fi 66 71 partition=`echo $device | sed s\%$drive\%\%` 67 72
Note:
See TracChangeset
for help on using the changeset viewer.