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

From: Rafael J. Wysocki
Date: Fri Sep 22 2006 - 10:30:36 EST


On Friday, 22 September 2006 16:13, Jason Lunz wrote:
> On Fri, Sep 22, 2006 at 12:57:11PM +0200, Rafael J. Wysocki wrote:
> > This is filesystem-dependent. AFAICT not all filesystems are supported
> > by GRUB.
>
> of course, but it shows the technique is viable. Grub is
> widespread, and if it's good enough for so many x86 users to boot with
> then the same approach ought to be adequate for resume, no?

Well, I'd like to avoid making _any_ assumptions regarding the partition
on which the "resume" swap file is located.

Also I think we can implement a simpler approach (ie. one that requires less
code changes in both the kernel and userland) first and then look for a
"nicer" one.

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/