Re: Fix SWSUSP & !SWAP

Andrew Morton
2003-04-24T08:48:47Z

Pavel Machek <pavel@suse.cz> wrote:
>
> 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.
>

I don't get it. Can you explain some more?