Bug 134860

Summary: mkswap -L not documented (-h and man-page)
Product: [Fedora] Fedora Reporter: Alexandre Oliva <oliva>
Component: util-linuxAssignee: Elliot Lee <sopwith>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-03 19:17:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alexandre Oliva 2004-10-06 20:01:38 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20040929

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):
util-linux-2.12a-10

How reproducible:
Always

Steps to Reproduce:
1.mkswap -h
2.man mkswap

Actual Results:  No reference to -L label.

Expected Results:  Should be there.

Additional info:

One could always edit /etc/fstab after re-creating the swap
partitions, and live on without -L, but that sort of defeats the point.

Comment 1 Elliot Lee 2004-12-03 19:17:34 UTC
Patch is in CVS.