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

Rafael J. Wysocki
2006-09-22T14:30:05Z

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