Changeset 2087 in MondoRescue for branches/2.2.8/mondo/src/restore-scripts


Ignore:
Timestamp:
Dec 14, 2008, 3:50:37 PM (16 years ago)
Author:
Bruno Cornec
Message:
  • Adds ext4 support
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  
    2222    label=`echo "$incoming"      | cut -d' ' -f5`
    2323    original_fstab_line=`grep " $mountpoint " $old_fstab | grep -v "#" | tr -s ' ' ' '`
    24     if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] ; then
     24    if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] || [ "$format" = "ext4" ]; then
    2525        if [ "`echo "$original_fstab_line" | grep "LABEL="`" != "" ] ; then
    2626            device="LABEL=$label"
  • branches/2.2.8/mondo/src/restore-scripts/mondo/label-partitions-as-necessary

    r2066 r2087  
    2727        LogIt "Not labeling ($mountpt) as anything because ($label) is not a label"
    2828    else
    29         if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] ; then
     29        if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] || [ "$format" = "ext4" ]; then
    3030            command="tune2fs $opttun $label $mountpt"
    3131            LogIt "Running $command"
Note: See TracChangeset for help on using the changeset viewer.