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

From: Pavel Machek
Date: Fri Sep 22 2006 - 10:33:50 EST


Hi!

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

Agreed.

(And someone else can create those "realreadonly" patches in the
meantime.)
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/