Changeset 1755 in MondoRescue for branches/2.2.5/mondo/src/restore-scripts/mondo/hack-fstab
- Timestamp:
- Oct 31, 2007, 1:11:44 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mondo/src/restore-scripts/mondo/hack-fstab
r1546 r1755 20 20 format=`echo "$incoming" | cut -d' ' -f3` 21 21 size=`echo "$incoming" | cut -d' ' -f4` 22 label=`echo "$incoming" | cut -d' ' -f5` 23 uuid=`echo "$incoming" | cut -d' ' -f6` 22 label=`echo "$incoming" | cut -d' ' -f5` 24 23 original_fstab_line=`grep " $mountpoint " $old_fstab | grep -v "#" | tr -s ' ' ' '` 25 24 if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] ; then … … 28 27 fi 29 28 if [ "`echo "$original_fstab_line" | grep "UUID="`" != "" ] ; then 30 device="UUID=$ uuid"29 device="UUID=$label" 31 30 fi 32 31 fi
Note:
See TracChangeset
for help on using the changeset viewer.