Re: Fix SWSUSP & !SWAP

Pavel Machek (pavel@suse.cz)
Thu, 24 Apr 2003 02:25:44 +0200


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/