Ignore:
Timestamp:
Oct 2, 2008, 1:24:10 PM (16 years ago)
Author:
Bruno Cornec
Message:
  • Add support for labeled reiser FS (Tehrani Ulrich <ulrich.tehrani_at_valora.com>)
  • Add support for new Qlogic drivers in mindi (Tehrani Ulrich <ulrich.tehrani_at_valora.com>)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.7/mondo/src/restore-scripts/mondo/label-partitions-as-necessary

    r1780 r2028  
    1414
    1515    if [ "`echo "$1" | grep -E 'LABEL='`" != "" ] ; then
    16         opttun="-L"
     16        [ "$format" = "reiserfs" ] && opttun="-l" || opttun="-L"
    1717    elif [ "`echo "$1" | grep -E 'UUID='`" != "" ] ; then
    18         opttun="-U"
     18        [ "$format" = "reiserfs" ] && opttun="-u" || opttun="-U"
    1919    else
    2020        # Nothing to do
     
    3131            LogIt "Running $command"
    3232            $command
     33        elif [ "$format" = "reiserfs" ]; then
     34            command="reiserfstune $opttun $label $mountpt"
     35            LogIt "Running $command"
     36            $command
    3337        elif [ "$format" = "swap" ] ; then
    3438            if [ "$opttun" = "-U" ]; then
     
    4145            fi
    4246        else
    43             LogIt "I am NOT going to run tune2fs: the partition is format '$format', which doesn't like tune2fs anyway"
     47            LogIt "I am NOT going to run tune2fs/reiserfstune: the partition is format '$format', which doesn't like tune2fs/reiserfstune anyway"
    4448        fi
    4549    fi
Note: See TracChangeset for help on using the changeset viewer.