Changeset 1009 in MondoRescue
- Timestamp:
- Dec 21, 2006, 5:30:20 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/mindi
r1008 r1009 1282 1282 do 1283 1283 # Location of the swap label for kernel 2.6 1284 try_dev_label=`dd bs=1 count=16 skip=1052 if=$try_dev &> /dev/null`1284 try_dev_label=`dd bs=1 count=16 skip=1052 if=$try_dev 2> /dev/null` 1285 1285 if [ "x$try_dev_label" = "x$redhat_label" ]; then 1286 1286 actual_dev=$try_dev … … 1295 1295 Die "Your system uses a LABEL partition ($current_partition), but you lack the tool to support it.\nPlease replace labels with their correct devices in /etc/fstab or install findfs|blkid|vol_id" 1296 1296 fi 1297 else1298 str_to_find_fmt_with=$current_partition1299 fi1300 1301 1297 # This part tries to retrieve the correct device from a UUID line in /etc/fstab 1302 1298 # current_partition contains only first column of /etc/fstab 1303 if [ "`echo "$current_partition" | /bin/grep -i "UUID="`" != "" ]; then1299 elif [ "`echo "$current_partition" | /bin/grep -i "UUID="`" != "" ]; then 1304 1300 str_to_find_fmt_with=$current_partition 1305 1301 uuid=`echo "$current_partition" | cut -d'=' -f2`
Note:
See TracChangeset
for help on using the changeset viewer.