[Suspend2-devel] Re: disk consistency
email at ukuehn.de
Fri Jul 14 17:54:36 UTC 2006
Tino Keitel wrote:
> On Wed, Jul 12, 2006 at 16:43:13 +1000, Nigel Cunningham wrote:
>> Umm.... urghhh. You're playing with fire. I would just put the
>> modules in the initramfs and be happy. If you want to make it easier
>> on yourself, make a nice script to make the job easier. I have an
>> ugly one I used to use for updating my initrd if you want a
> Does it mean that using Suspend2 without some kind of initrd is
> considered dangerous?
To the contrary! If you do not use an initrd or initramfs, the kernel
itself will trigger resume on boot (provided there is a suspended image)
before any scripts are run, so no disk will be mounted, no data destroyed.
So the point is, if you use an initrd or initramfs, do not touch any
disk/partition that was mounted R/W in the suspended instance of the
For partitions mounted Read-only your mileage may vary (I am guessing
here). Mounting such a thing read-only should be ok, rw could get you
intro trouble because the disk may change without the suspended system
Hope this helps.
More information about the TuxOnIce-devel