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

From: Pavel Machek
Date: Fri Sep 22 2006 - 10:18:56 EST


On Fri 2006-09-22 10:13:47, 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, most people "solve" this by having their boot partition on ext2,
no?

Anyway, yes, you can do libext2 magic... in uswsusp..

Or you can just patch "real_read_only" mode to journalling
filesystem. That should be easy enough, and that patch would be
welcome for other reasons (data recovery), too. Please do it :-).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/