docs/86733: [patch] Add using kldload as an alternative to compiling in gbde in your kernel

Marc Fonvieille blackend at FreeBSD.org
Fri Sep 30 14:29:58 UTC 2005


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



More information about the freebsd-doc mailing list