Bug 134860 - mkswap -L not documented (-h and man-page)
Summary: mkswap -L not documented (-h and man-page)
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux   
(Show other bugs)
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Elliot Lee
QA Contact: Ben Levenson
Depends On:
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:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-12-03 19:17:34 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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)

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):

How reproducible:

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.