Changeset 2815


Ignore:
Timestamp:
Apr 29, 2011, 3:40:28 PM (8 years ago)
Author:
bruno
Message:

r2187@localhost (orig r2186): bruno | 2009-04-30 17:59:06 +0200
Adds support of special partiion names (ida, cciss, mapth) for format-and-kludge-vfat


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.8/mondo/src/restore-scripts/mondo/format-and-kludge-vfat

    r2085 r2815  
    6363
    6464device=$1
    65 drive=`echo $device | sed s/[0-9]*[0-9]//`
     65echo $device | grep -Eq "/cciss/|/mapper/|/ida/"
     66if [ $? -eq "0" ]; then
     67    drive=`echo $device | sed s/[0-9p]*[0-9]//`
     68else
     69    drive=`echo $drive | sed s/[0-9]*[0-9]//`
     70fi
    6671partition=`echo $device | sed s\%$drive\%\%`
    6772
Note: See TracChangeset for help on using the changeset viewer.