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

From: Jason Lunz
Date: Thu Sep 21 2006 - 19:59:17 EST


> 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
-
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/