Changeset 1770 in MondoRescue for branches/stable/mondo/src/restore-scripts/mondo/hack-fstab
- Timestamp:
- Nov 6, 2007, 11:01:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/restore-scripts/mondo/hack-fstab
r1548 r1770 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.