Swap file's default location [duplicate]
I have just created a swap file and now I want to check the location on this swap file.
How can I check on which partition my swap file is residing?
There are probably several ways to do this, but the simplest ones are:
sh@uruk:~$ cat /proc/swaps
Filename Type Size Used Priority
/dev/nvme0n1p3 partition 2097148 456 -2
sh@uruk:~$ swapon -s
Filename Type Size Used Priority
/dev/nvme0n1p3 partition 2097148 456 -2