Re: [PATCH -mm 5/6] mm: Print first block offset for swap areas

Jason Lunz
2006-09-21T23:58:41Z

> The entire problem is we can't use file names during resume, because
> we can't mount filesystems at that time, so we need to represent the
> swap header's location in a filesystem-independent way.

grub reads files without mounting the filesystem. And it has to find the
entire file, not just the beginning. Maybe swsusp could use that
technique? If not the in-kernel one, surely the userland version
could.

Jason