When adding swap space for paging there are options other than priority (
However I could not find where to read back those options.
/proc/swaps just has a
priority column, and
/proc/mounts does not list swap.
swapon -s just seems to output the same information as
So where can I get those options (without having to write a C program)?