On Fri Jul04'25 11:27:07AM, Community Support for Fedora Users wrote:
> From: Ranjan Maitra via users <users@lists.fedoraproject.org>
> Date: Fri, 4 Jul 2025 11:27:07 -0500
> To: Community support for Fedora users <users@lists.fedoraproject.org>
> Cc: Ranjan Maitra <mlmai...@gmx.com>
> Reply-To: Community support for Fedora users <users@lists.fedoraproject.org>
> Subject: Re: F42: instructions on setting up hibernate
> 
> On Tue Jun24'25 04:37:21PM, Patrick O'Callaghan wrote:
> > From: Patrick O'Callaghan <pocallag...@gmail.com>
> > Date: Tue, 24 Jun 2025 16:37:21 +0100
> > To: users@lists.fedoraproject.org
> > Reply-To: Community support for Fedora users <users@lists.fedoraproject.org>
> > Subject: Re: F42: instructions on setting up hibernate
> > 
> > On Tue, 2025-06-24 at 09:35 -0500, Ranjan Maitra via users wrote:
> > > On Thu Jun12'25 04:05:09PM, Patrick O'Callaghan wrote:
> > > > From: Patrick O'Callaghan <pocallag...@gmail.com>
> > > > Date: Thu, 12 Jun 2025 16:05:09 +0100
> > > > To: users@lists.fedoraproject.org
> > > > Reply-To: Community support for Fedora users 
> > > > <users@lists.fedoraproject.org>
> > > > Subject: Re: F42: instructions on setting up hibernate
> > > > 
> > > > On Thu, 2025-06-12 at 09:32 -0500, Ranjan Maitra via users wrote:
> > > > > I have a new install of F42 on a Dell Latitude 7430 and was wondering 
> > > > > what is the latest way to get hibernate going?
> > > > > 
> > > > > Is this recommended way?
> > > > > 
> > > > > https://fedoramagazine.org/update-on-hibernation-in-fedora-workstation/
> > > > > 
> > > > > Many thanks and best wishes,
> > > > > Ranjan
> > > > 
> > > > That's basically what I do as far as I can tell, though I arrived at it
> > > > piecemeal after several iterations with earlier attempts.
> > > 
> > > Thanks, looking into this now. However, I noticed that these instructions 
> > > appear to be for filesystems that use btfrs. What do I do if I have a 
> > > ext4 filesystem?
> > 
> > At a guess, just leave out the line that creates a BTRFS subvolume and
> > do everything else the same. The important thing is to create a
> > contiguous swapfile with reserved space, which is what mkswap does.
> > IIRC the BTRFS subvolume is mainly to avoid things like deduplication
> > on the swap file, which isn't an issue with ext4.
> > 
> 
> 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?:-)

Ranjan
-- 
_______________________________________________
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