Changeset 2024 in MondoRescue


Ignore:
Timestamp:
Sep 24, 2008, 12:24:55 AM (16 years ago)
Author:
Bruno Cornec
Message:

small perf improvements on mindi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.7/mindi/mindi

    r2019 r2024  
    719719    local res currline partition all_partitions ap_orig remaining i j
    720720
    721     grep -vx " *#.*" $MY_FSTAB | grep -vx " *none.*" | $AWK '/^\/dev\/[imhs]d||^LABEL=\/|^UUID=/ && !/fdd|cdr|zip|floppy/ {print $1}'
     721    grep -Evx " *#.*| *none.*" $MY_FSTAB | $AWK '/^\/dev\/[imhs]d||^LABEL=\/|^UUID=/ && !/fdd|cdr|zip|floppy/ {print $1}'
    722722    [ -e "/etc/raidtab" ] && $AWK '/^ *device/ {print $2}' /etc/raidtab
    723723    if [ -e "/vmfs/volumes" ]; then
     
    24512451        LILO_EXE=elilo
    24522452    else
    2453         LILO_EXE=`which false`
     2453        LILO_EXE=`which false 2> /dev/null`
    24542454    fi
    24552455else
Note: See TracChangeset for help on using the changeset viewer.