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

From: Rafael J. Wysocki
Date: Fri Sep 22 2006 - 06:54:31 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/