What is the function of the /etc/swapspaces file?
/etc/swapspaces
The /etc/swapspaces file specifies paging-space devices and their attributes. During system initialization, swapon -a makes the eligible paging spaces defined in this file available for paging and swapping.
swapon -a
Community Discussion