: Okay, here is the second version of the /proc/swap[s] patch and swapoff
: utility.
...
Yes. About a year ago I submitted more or less the same patch
(with /proc/mounttable and /proc/swaptable or so). One field that
my swaptable had, and that you might consider adding, was the priority field.
(On the other hand, I did not have the file/partition field.)
Andries