Red Hat Bugzilla – Bug 134860
mkswap -L not documented (-h and man-page)
Last modified: 2007-11-30 17:10:51 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Description of problem:
mkswap now supports -L to set a label on the swap device, and anaconda
actually makes use of that, creating entries in /etc/fstab that
reference SWAP-$partition for a swap device in /dev/$partition.
Unfortunately, if you happen to re-create the swap device for whatever
reason, swapon -a will no longer work because you don't have the
label, and neither mkswap -h nor man mkswpa will hint you to the
option to create the swap device correctly. The new (?) -L option
ought to be mentioned in the -h output, as well as in the man-page.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Actual Results: No reference to -L label.
Expected Results: Should be there.
One could always edit /etc/fstab after re-creating the swap
partitions, and live on without -L, but that sort of defeats the point.
Patch is in CVS.