Changeset 2087 in MondoRescue for branches/2.2.8/mondo/src/restore-scripts
- Timestamp:
- Dec 14, 2008, 3:50:37 PM (16 years ago)
- Location:
- branches/2.2.8/mondo/src/restore-scripts/mondo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.8/mondo/src/restore-scripts/mondo/hack-fstab
r1755 r2087 22 22 label=`echo "$incoming" | cut -d' ' -f5` 23 23 original_fstab_line=`grep " $mountpoint " $old_fstab | grep -v "#" | tr -s ' ' ' '` 24 if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] ; then24 if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] || [ "$format" = "ext4" ]; then 25 25 if [ "`echo "$original_fstab_line" | grep "LABEL="`" != "" ] ; then 26 26 device="LABEL=$label" -
branches/2.2.8/mondo/src/restore-scripts/mondo/label-partitions-as-necessary
r2066 r2087 27 27 LogIt "Not labeling ($mountpt) as anything because ($label) is not a label" 28 28 else 29 if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] ; then29 if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] || [ "$format" = "ext4" ]; then 30 30 command="tune2fs $opttun $label $mountpt" 31 31 LogIt "Running $command"
Note:
See TracChangeset
for help on using the changeset viewer.