[Bug 577232] [NEW] swapon/swapoff not as described in man page

Daniel Richard G. skunk at iskunk.org
Fri May 7 23:23:07 UTC 2010


Public bug reported:

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
              Silently skip devices that do not exist.

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/implementation of swapon/swapoff than the one I have installed.

** Affects: util-linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
swapon/swapoff not as described in man page
https://bugs.launchpad.net/bugs/577232
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to util-linux in ubuntu.




More information about the kernel-bugs mailing list