Changeset 1763 in MondoRescue for branches/2.2.5/mondo
- Timestamp:
- Nov 4, 2007, 1:02:45 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mondo/src/restore-scripts/mondo/label-partitions-as-necessary
r1755 r1763 33 33 elif [ "$format" = "swap" ] ; then 34 34 if [ "$opttun" = "-U" ]; then 35 echo "Unable yet to identify swap with UUID" 36 echo "You'll have to modify your /etc/fstab after reboot" 37 echo "Replace the UUID found on the swap line by the one" 38 echo "given by the command vol_id -u $mountpt" 39 echo "And ask Ubuntu guys to deliver a mswap command with" 40 echo "a -U option to update the UUID to what we want !!!" 41 42 sleep 5 35 echo -n "$label" | perl -ne 's/-//g;chomp;print pack "H*",$_' | dd conv=notrunc "of=$mountpt" obs=1 seek=1036 2> .dev/null 36 LogIt "Creating uuid on swap partition $label" 43 37 else 44 38 command="mkswap $opttun $label $mountpt"
Note:
See TracChangeset
for help on using the changeset viewer.