Re: [ 00/10] [Suspend2] Modules support.

From: Matthew Garrett
Date: Fri Feb 03 2006 - 05:41:26 EST


Andrew Morton <akpm@xxxxxxxx> wrote:

> Is it still the case that swsusp requries that the disk drivers be
> statically linked into vmlinux?

No, I submitted a patch for that that went into 2.6.13. In
initrd/initramfs, load the controller modules and then echo the
major:minor of the suspend device into /sys/power/resume. As long as
this is done before any filesystems are mounted, it works fine.

(Yes, it gives you the ability to shoot yourself in the foot, but then
so does the rest of the kernel...)

--
Matthew Garrett | mjg59-chiark.mail.linux-rutgers.kernel@xxxxxxxxxxxxx
-
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/