Baptiste Daroussin
2017-04-16 20:21:37 UTC
Hi all,
I would like to change in FreeBSD 12 at least the default order the modules are
found/look up.
For now the modules are loaded from /boot/kernel first then if not found,
checked from /boot/modules.
I think we should revert that to /boot/modules first then /boot/kernel.
The main reason being to simplify multiple things:
1/ If one needs to change a module (like backporting) I could install it from
package and it would take precedent from the one provided by the default kernel
I'm using
2/ As a hacker I could build my own version of a given module and install it in
/boot/modules I won't overwrite the default kernel module
3/ as a port maintainer I could provide my own version of the module that would
take precedence over the one provided by the kernel.
As it is a change in the default behaviour I would only do it for 12 (beside I
would love to do it in earlier version :D)
Anyone has an opinion on the subject?
Best regards,
Bapt
I would like to change in FreeBSD 12 at least the default order the modules are
found/look up.
For now the modules are loaded from /boot/kernel first then if not found,
checked from /boot/modules.
I think we should revert that to /boot/modules first then /boot/kernel.
The main reason being to simplify multiple things:
1/ If one needs to change a module (like backporting) I could install it from
package and it would take precedent from the one provided by the default kernel
I'm using
2/ As a hacker I could build my own version of a given module and install it in
/boot/modules I won't overwrite the default kernel module
3/ as a port maintainer I could provide my own version of the module that would
take precedence over the one provided by the kernel.
As it is a change in the default behaviour I would only do it for 12 (beside I
would love to do it in earlier version :D)
Anyone has an opinion on the subject?
Best regards,
Bapt