Re: Fix SWSUSP & !SWAP

Carl-Daniel Hailfinger (c-d.hailfinger.kernel.2003@gmx.net)
Thu, 24 Apr 2003 17:22:28 +0200


Pavel Machek 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.
>
> It could be doable with modifications to the filesystems, but it would
> be hard (and I do not think it is worth it).
> Pavel
>
Any non-journaling filesystem should work out fine. And if you don't
trust ext2, you can still use xiafs once I've finished porting it to 2.5

Carl-Daniel

-- 
http://www.hailfinger.org/

- 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/