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, there's this:
"swap files need not be contiguous"
I assume the header has some sort of map of where to find all the other blocks, so you just need to provide the offset to the header.
_______________________________________________
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