tomorrows rawhide kernel.

Michel Alexandre Salim msalim at cs.indiana.edu
Sat Aug 13 06:10:40 UTC 2005


On Fri, 2005-08-12 at 23:57 -0400, Dave Jones wrote:
> As the rawhide kernel has been pretty boring and uneventful
> so far, this last day or two, Jeremy Katz and I managed to
> beat suspend to disk support into shape.
> 
[snip]

> 1. Make sure you have a swap partition.
> (if you have >1, it'll only use the first one, so make sure
>  its at least as big as your RAM).  Whilst suspend does evict
>  some non-essential things from memory before it suspends,
>  it can still end up with quite a bit to write out.
> 
Great! It works with swap-on-LVM, I assume?

> - *NEVER*, *EVER*, write into /sys/power/resume after you've booted.
> This is going to have to be made safe at some point. Right now, doing
> that whilst you've got partitions mounted is a guaranteed way to say
> goodbye to some files.  The good news, is that this is the only
> way I've found so far to corrupt data.
> 
Could this be done with unionfs, I wonder? Layer a branch that contains
an immutable /sys/power/resume on top of the real /sys.

Looking forward to trying this out,

- Michel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3340 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20050813/159eb1b4/attachment.bin>


More information about the fedora-devel-list mailing list