Date: Fri, 30 Sep 2005 10:18:10 -0400 From: John Baldwin <jhb@FreeBSD.org> To: freebsd-doc@freebsd.org, "Simon L. Nielsen" <simon@freebsd.org> Subject: Re: docs/86733: [patch] Add using kldload as an alternative to compiling in gbde in your kernel Message-ID: <200509301018.11489.jhb@FreeBSD.org> In-Reply-To: <200509300800.j8U80ZiG094804@freefall.freebsd.org> References: <200509300800.j8U80ZiG094804@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 30 September 2005 04:00 am, Simon L. Nielsen wrote: > The following reply was made to PR docs/86733; it has been noted by GNATS. > > From: "Simon L. Nielsen" <simon@FreeBSD.org> > To: Josh Paetzel <josh@tcbug.org> > Cc: FreeBSD gnats submit <FreeBSD-gnats-submit@FreeBSD.org> > Subject: Re: docs/86733: [patch] Add using kldload as an alternative to > compiling in gbde in your kernel Date: Fri, 30 Sep 2005 09:54:05 +0200 > > --qDbXVdCdHGoSgWSk > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On 2005.09.29 17:16:01 -0500, Josh Paetzel wrote: > >=20 > > + <para>At this time there is no option in > > + <filename>/boot/loader.conf</filename> > > + to load the kernel module at boot time > > + </para> > > Sure about that? It's been a while since I played with gbde (now it's > just running) but I'm rather sure 'geom_bde_load=3D"YES"' in loader.conf > works just fine. > > I only have a 7.0 handy that I can reboot, but there it works just > fine loading gbde from loader.conf. Yes, it will work. None of the foo_load variables are explicit in the loader. Instead, it walks all the environment variables and if any variable ends with _load, it tries to load the kld named by the prefix. Thus, if you set foo_load=YES, it will try to load foo.ko and will unset foo_load if it is successful. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509301018.11489.jhb>