On 7/28/19 2:11 PM, Samuel Sieb wrote:
On 7/27/19 10:51 PM, Ed Greshko wrote:
On 7/28/19 11:37 AM, Robert Moskowitz wrote:
The instructions I saw was to add (or replace?) with
/mnt/swapfile swap swap defaults 0 0
Couple questions. When I ran mkswap:
# mkswap /mnt/swapfile Setting up swapspace version 1, size = 8 GiB (8589930496 bytes) no label, UUID=ad2c6856-023a-4fbe-97f9-594d260c85de
Should I use the file name or the UUID in fstab?
Either one will be fine. FWIW, you may be more likely to remember what you've done if you use the file name. :-)
You can't use the UUID because it won't be found. You can only use the UUID on devices that can be auto-detected.
Thanks for the correction. Don't know what I was thinking. :-(