kldload vs Statically compiled in kernel

Alexander Best alexbestms at wwu.de
Wed Mar 17 03:09:03 UTC 2010

sure there are advantages. with a module you can change code in src, recompile
the kernel module and then reload it. this lets you test your changes without
having to reboot.

i also use modules for devices i only attached every now and then, like a usb
dongle device for doing bluetooth. i only load the modules before attaching
the device and unload them after detaching the device (although i guess this
could be done automatically using devd.conf)

Alexander Best

More information about the freebsd-questions mailing list