On Fri, 2025-07-04 at 11:38 -0500, Ranjan Maitra via users wrote:
> > So, does this mean I have to create a /var/swap file using mkdir? Because 
> > right now, I do not have any a /var/swap. 
> 
> Or, just to add, should I ignore all three of these lines at: 
> 
> https://fedoramagazine.org/update-on-hibernation-in-fedora-workstation/
> 
>  sudo btrfs subvolume create /var/swap
>  sudo chattr +C /var/swap
>  sudo restorecon /var/swap
> 
> I suspect I should create a /var/swap directory. Famous last guess?:-)

Not a directory but a file. The You're not using BTRFS so forget the
subvolume stuff, including the chattr call (ext4 doesn´t have copy-on-
write so this is irrelevant). The restorecon may or may not be
required, I'm not sure.

Use mkswap to create the swap file and everything should Just Work
(tm).

poc
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to