Re: Unable to hibernate Fedora 31 using swap file

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

 



On Sun, 2020-04-19 at 00:28 +0930, Tim via users wrote:
> Tim:
> > > To be able to do that, it has to be able to read within a
> > > filesystem by itself.  There's probably only a small set of
> > > filesystems it can handle.
> 
> Samuel Sieb:
> > No, you point the kernel at the offset of the header within the 
> > partition.  The header contains pointers to the rest of the data. 
> > It doesn't have to know anything about the filesystem.
> 
> Surely that'd be dependent on the entireity of the swap file being
> arranged on the drive in a predictable manner.  What if a swap file was
> created on a system that didn't arrange all the bits so predictably?
> 
> e.g. A swap file on an encrypted partition.

Encryption of course is a possible impediment (I've no idea if this is
handled as it's not of particular interest to me). However with that
caveat, a header including direct pointers to each block of data in
sequence would seem to be workable in theory without requiring
knowledge of the filesystem's layout strategy, recalling that this data
is being created by something that knows how it's going to be used. (I
say that without having looked at the actual format.)

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