Changeset 748 in MondoRescue for branches/stable/mindi
- Timestamp:
- Aug 5, 2006, 3:06:07 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/mindi
r747 r748 1374 1374 actual_dev=`/sbin/blkid | /bin/grep "$redhat_label" | grep LABEL= | /bin/cut -d':' -f1` 1375 1375 # For LVM FS it will give a /dev/dm-# which should then be converted 1376 if [ $LVM = "v2" ] && [ "` grep -q '/dev/dm' $actual_dev`" ]; then1376 if [ $LVM = "v2" ] && [ "`echo $actual_dev | grep '/dev/dm'`" ]; then 1377 1377 major=`/bin/ls -l $actual_dev | awk '{print $5}'` 1378 1378 minor=`/bin/ls -l $actual_dev | awk '{print $6}'` … … 1444 1444 # For ReHat lvmdisplay doesn't work on /dev/mapper entries 1445 1445 # 1446 if [ $LVM = "v2" ] && [ "` grep -q '/dev/mapper/' $current_partition`" ]; then1446 if [ $LVM = "v2" ] && [ "`echo $current_partition | grep '/dev/mapper/'`" ]; then 1447 1447 current_lvolume="`find /dev -lname "$current_partition"`" 1448 1448 fi
Note:
See TracChangeset
for help on using the changeset viewer.