Bug 134860 - mkswap -L not documented (-h and man-page)
Summary: mkswap -L not documented (-h and man-page)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Elliot Lee
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-06 20:01 UTC by Alexandre Oliva
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-12-03 19:17:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.