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

Pavel Machek
2006-09-22T14:33:20Z

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