Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2005 16:29:55 +0200
From:      Marc Fonvieille <blackend@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        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:  <20050930142955.GC595@gothic.blackend.org>
In-Reply-To: <200509301018.11489.jhb@FreeBSD.org>
References:  <200509300800.j8U80ZiG094804@freefall.freebsd.org> <200509301018.11489.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 30, 2005 at 10:18:10AM -0400, John Baldwin wrote:
> >  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.
>

This is "documented" (use of huge quotes :) in "Module loading syntax
example" part of boot/defaults/loader.conf

Marc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050930142955.GC595>