Changeset 2070 in MondoRescue


Ignore:
Timestamp:
Nov 27, 2008, 10:57:51 PM (15 years ago)
Author:
Bruno Cornec
Message:

Fix #271 by adding a '/' in front of the string we want to exclude for cd, floppies, ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.8/mindi/mindi

    r2069 r2070  
    719719    local res currline partition all_partitions ap_orig remaining i j
    720720
    721     grep -Evx " *#.*| *none.*" $MY_FSTAB | $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
Note: See TracChangeset for help on using the changeset viewer.