Date: Tue, 26 Mar 2002 22:50:29 +0000 From: Scott Mitchell <scott.mitchell@mail.com> To: "Gary W. Swearingen" <swear@blarg.net> Cc: Mike Meyer <mwm-dated-1017447981.e0f1b4@mired.org>, Per olof Ljungmark <peo@intersonic.se>, freebsd-questions@FreeBSD.ORG Subject: Re: Switching between kernels Message-ID: <20020326225029.B304@fishballoon.dyndns.org> In-Reply-To: <0vzo0vke7w.o0v@localhost.localdomain>; from swear@blarg.net on Mon, Mar 25, 2002 at 10:58:11PM -0800 References: <200203241500.g2OF02U62813@dns2.s.bonet.se> <20020324163052.C281@fishballoon.dyndns.org> <sxadsx61vq.dsx@localhost.localdomain> <20020324223626.G281@fishballoon.dyndns.org> <15518.28332.691125.587105@guru.mired.org> <20020325235153.A290@fishballoon.dyndns.org> <0vzo0vke7w.o0v@localhost.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 25, 2002 at 10:58:11PM -0800, Gary W. Swearingen wrote: > Scott Mitchell <scott.mitchell@mail.com> writes: > > > Is it possible, without major heroics, to have separate module > > installations for each kernel? The kernel Makefile has ${DESTDIR}/modules > > as the install path, so I guess you could tweak DESTDIR or just rename > > /modules after the first module set was installed. Then set the > > module_path loader variable to make sure the right set was used at boot > > time. > > /sys/compile/KERNCONF/Makefile already creates modules.old/ (which I > always rename with kernel.old) but at boot you need to do "unload" to > unload old (new) modules and then, I guess, set that module_path (?). > Then after booting, or better (?), near start of /etc/rc, do something > with kldconfig(8). I haven't had enough need for it to figure it out > yet.) I imagine you could do something clever with loader config files as well, to have it all happen even earlier in the boot process. Like you though, I haven't had any need to mess with this yet :-) Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020326225029.B304>