Bug 2173 - swapon -s doesn't work
swapon -s doesn't work
Product: Red Hat Linux
Classification: Retired
Component: mount (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
Depends On:
  Show dependency treegraph
Reported: 1999-04-14 03:01 EDT by Chris Siebenmann
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-08-19 16:21:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Chris Siebenmann 1999-04-14 03:01:20 EDT
On RedHat 5.2/5.1 etc, swapon -s (to report swap
usage broken down by swap partition) just says
	swapon: /proc/swaps: No such file or directory

 I suspect that this functionality isn't supported
under the 2.0.* kernels, in which case that's about
all that can be done (maybe swapon should print a
better error message, though).
Comment 1 David Lawrence 1999-04-14 17:29:59 EDT
I have verified the error to occur when using 'swapon -s' on version
5.2 and later.
Comment 2 Bill Nottingham 1999-08-19 16:21:59 EDT
this will most likely not be fixed for 5.2.
The functionality works in 6.0.

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