Re: Fix SWSUSP & !SWAP

Pavel Machek
2003-04-24T08:41:11Z

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?]