Re: Fix SWSUSP & !SWAP

From: Pavel Machek (pavel@suse.cz)
Date: Wed Apr 23 2003 - 19:25:44 EST


Hi!

> > If you really want to "solve" it reliably, you can always
> >
> > swapon /dev/hdfoo666
> >
>
> Seems that using a swapfile instead of a swapdev would fix that neatly.
>
> But iirc, suspend doesn't work with swapfiles. Is that correct? If so,
> what has to be done to get it working?

Swapfile does not work, because even readonly mount wants to replay
logs, and that'd be disk corruption.

It could be doable with modifications to the filesystems, but it would
be hard (and I do not think it is worth it).
                                                                Pavel

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:12 EST