[Bug 247143] FEATURE IDEA: implement module_disable=YES in /boot/loader.conf file

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 18 14:50:47 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247143

Allan Jude <allanjude at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |allanjude at FreeBSD.org

--- Comment #1 from Allan Jude <allanjude at FreeBSD.org> ---
The loader.conf variables are not read by the kernel, but by the loader
scripting language, and used to load modules.

You can disable some hardware using the device.hints file, but that won't
disable the code in the kernel, just keep it from attaching to the hardware.

There is a version of the kernel, called MINIMAL, that moves as much as
possible out of GENERIC, and uses the 'devmatch' tool to load the drivers for
all of the hardware that is detected on your system.

With some more polish, this could replace GENERIC and achieve your goal.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list