[Suspend2-devel] Re: disk consistency

Tino Keitel tino.keitel at tikei.de
Sat Jul 15 07:22:03 UTC 2006


On Fri, Jul 14, 2006 at 19:54:36 +0200, U Kuehn wrote:
> Tino Keitel wrote:
> > On Wed, Jul 12, 2006 at 16:43:13 +1000, Nigel Cunningham wrote:
> >> Hi.
> >>
> >> 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
> >> kickstart.
> > 
> > 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.

OK, what about the case of a suspend file on LVM without using an
initramfs? In this case, the LVM has to be up before resume can take
place, which requires a mounted root partition. It is still mounted
read only at this moment. Is this dangerous, too?

Regards,
Tino




More information about the TuxOnIce-devel mailing list