Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 2020 14:50:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 247143] FEATURE IDEA: implement module_disable=YES in /boot/loader.conf file
Message-ID:  <bug-247143-227-gF1dtgz4G0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-247143-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-247143-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247143

Allan Jude <allanjude@FreeBSD.org> changed:

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

--- Comment #1 from Allan Jude <allanjude@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 f=
or
all of the hardware that is detected on your system.

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247143-227-gF1dtgz4G0>