On Fri, 2020-11-13 at 13:16 -0500, Jonathan Billings wrote:
>     In principle the location of a swap file’s header may be
>     determined with the help of appropriate filesystem
>     driver. Unfortunately, however, it requires the filesystem holding
>     the swap file to be mounted, and if this filesystem is journaled,
>     it cannot be mounted during resume from disk. For this reason to
>     identify a swap file swsusp uses the name of the partition that
>     holds the file and the offset from the beginning of the partition
>     at which the swap file’s header is located. For convenience, this
>     offset is expressed in <PAGE_SIZE> units.

Surely the absolute position of any file in a file system couldn't be
relied upon to always be the same?

-- 
 
uname -rsvp
Linux 3.10.0-1160.2.2.el7.x86_64 #1 SMP Tue Oct 20 16:53:08 UTC 2020 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
_______________________________________________
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

Reply via email to