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

Rafael J. Wysocki
2006-09-22T10:54:16Z

On Friday, 22 September 2006 01:58, Jason Lunz wrote:
> > 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.

This is filesystem-dependent. AFAICT not all filesystems are supported
by GRUB.

Greetings,
Rafael

--
You never change things by fighting the existing reality.
R. Buckminster Fuller