Re: swsusp: allow resume from initramfs

From: Barry K. Nathan
Date: Fri Mar 04 2005 - 12:53:24 EST


On Fri, Mar 04, 2005 at 03:04:10AM -0800, Andrew Morton wrote:
> I don't understand how this can be affected by the modularness of the
> kernel. Can you explain a little more?
>
> Would it not be simpler to just add "resume=03:02" to the boot command line?

In addition to what others have mentioned, there's also the situation
where swap is on a logical volume. In that case, the initramfs needs to
get LVM up and running before you can even think about resuming.

Swap on a logical volume is the default Fedora Core 3 partition layout,
and I imagine it's the default for Red Hat Enterprise Linux 4 as well.

-Barry K. Nathan <barryn@xxxxxxxxx>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/