Changeset 789 in MondoRescue
- Timestamp:
- Sep 13, 2006, 3:27:17 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/mindi
r784 r789 1407 1407 fi 1408 1408 1409 # 4th try : pre-formated LABEL. Format is : LABEL=SWAP-mydevice. e.g. : LABEL=SWAP-hda5 1409 # 4th try : pre-formated LABEL. Format is : LABEL=SWAP-mydevice or SW-mydevice. e.g. : LABEL=SWAP-hda5 1410 # LABEL=SW-cciss/c0d0p3 (RDP) 1410 1411 # SWAP only 1411 if [ "x$actual_dev" = "x" -a _"`echo $current_partition | /bin/grep -i 'LABEL=SWAP'`" != _"" ]; then1412 if [ "x$actual_dev" = "x" -a _"`echo $current_partition | /bin/grep -iE 'LABEL=SWAP|LABEL=SW-'`" != _"" ]; then 1412 1413 try_dev="`echo "$redhat_label" | /bin/cut -d '-' -f2`" 1413 1414 present_dev="`/bin/cat /proc/swaps | /bin/grep -w /dev/$try_dev`"
Note:
See TracChangeset
for help on using the changeset viewer.