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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
-- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-devel-list