swapon/swapoff help summary unclear on long options
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
util-linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mount
This concerns mount 2.17.2-0ubuntu1 in Ubuntu Lucid.
If I do "man swapoff", one of the options I see is
-e, --ifexists
Which leaves me a bit confused when I then see this:
# swapoff --ifexists /dev/hdb5
swapoff: unrecognized option '--ifexists'
Usage:
swapoff -a [-v] disable all swaps
swapoff [-v] <special> disable given swap
swapoff -h display help
swapoff -V display version
The <special> parameter:
{-L label | LABEL=label} LABEL of device to be used
{-U uuid | UUID=uuid} UUID of device to be used
<device> name of device to be used
<file> name of file to be used
The man page appears to describe a different version/
Changed in util-linux (Ubuntu): | |
status: | Confirmed → New |
Hello Daniel,
I am running Ubuntu 10.04 and my swappoff man page is also telling me that the -e option exists.
But, like yourself, I cannot use it.