Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 2173

Summary: swapon -s doesn't work
Product: [Retired] Red Hat Linux Reporter: Chris Siebenmann <cks-rhbugzilla>
Component: mountAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-08-19 20:21:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Chris Siebenmann 1999-04-14 07:01:20 UTC
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 21:29:59 UTC
I have verified the error to occur when using 'swapon -s' on version
5.2 and later.

Comment 2 Bill Nottingham 1999-08-19 20:21:59 UTC
this will most likely not be fixed for 5.2.
The functionality works in 6.0.