Re: Unable to hibernate Fedora 31 using swap file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/17/20 2:42 PM, Patrick O'Callaghan wrote:
On Fri, 2020-04-17 at 14:25 -0700, Samuel Sieb wrote:
On 4/17/20 2:11 PM, Roger Heflin wrote:
For the vg/offset to work the file must be contiguous (only 1
section/extent in the file).   I don't see that mentioned in
archlinux.

I tried to find out the on-disk format for swap files, but wasn't able
to.  But from the doc at
https://www.kernel.org/doc/html/latest/power/swsusp-and-swap-files.html

That does give some interesting insights. In particular, it explains
why the file has to be treated specially (because during resume, the
filesystem may not be mounted, which is what I was trying to get at
earlier). This clears up some confusion for me at least.

During resume, the filesystem *can't* be mounted. All the filesystem state is in the hibernation image which you are trying to load. It's one of those fun chicken and egg challenges. That's why there has to be enough info in the swap file to locate the data without relying on anything else.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux