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   
Whiteboard:
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:
Embargoed:

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.