Changeset 273 in MondoRescue for branches/2.06/mondo/mondo/restore-scripts/mondo/make-me-bootable
- Timestamp:
- Jan 3, 2006, 4:09:12 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.06/mondo/mondo/restore-scripts/mondo/make-me-bootable
r196 r273 19 19 HAVE_ACTIVE="false" 20 20 for i in `cat $1 | tr -s '\t' ' ' | cut -d' ' -f1 | grep -v "/dev/fd" | grep -v "none" | grep -v "#"` ; do 21 mountpt=` cat $1 | grep "$i "| tr -s '\t' ' ' | cut -d' ' -f2`22 format=` cat $1 | grep "$i "| tr -s '\t' ' ' | cut -d' ' -f3`21 mountpt=`grep "$i " $1 | tr -s '\t' ' ' | cut -d' ' -f2` 22 format=`grep "$i " $1 | tr -s '\t' ' ' | cut -d' ' -f3` 23 23 drive=`echo $i | sed -e 's/[0-9]*$//' -e 's/\([0-9]\)p$/\1/'` 24 24 partno=`echo $i | sed -e 's/^.*[^0-9]\([0-9]*\)$/\1/'`
Note:
See TracChangeset
for help on using the changeset viewer.