Comment 4 for bug 577232

Revision history for this message
Daniel Richard G. (skunk) wrote : Re: swapon/swapoff not as described in man page

Firas, I see what you mean. The lack of mention of long options in the usage summary and man-page synopsis threw me off the trail.

My use case was to pass in a laundry list of devices on the command line, and have swapoff(8) do its thing while ignoring invalid-device errors (rather than stick a "2>/dev/null || true" afterward), so the clarification of what -e/--ifexists does is appreciated as well.

I'll change this to a wishlist-type bug, requesting more clarity on the man page (flesh out description of -e/--ifexists to what you wrote) and usage summary (mention long options).