Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Apr 2017 22:21:37 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        arch@FreeBSD.org
Subject:   modules finding order
Message-ID:  <20170416202137.5x4vegfnm2pvkn6t@ivaldir.net>

next in thread | raw e-mail | index | archive | help

--vkx5rhddyn7egncs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--vkx5rhddyn7egncs
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAljz0ksACgkQY4mL3PG3
PlrhEw//WYW9kQiQ9gyYjYjZiX/pjnpW+oWH51+ZsKfKh4F7m7WTZdtbKH5n087d
27DTTh2/7YWo8qV/VGd+fn8tZybvyONJBQBThY8k/vSPRmsE88KoZ767RgTZ5ox/
EBjHCm4k0EdqmiYtXNj3mt5Qc8/KswP1yac0ldkQWJTip+ORcGrnanAlBzP3+Z2x
+au+Bjj5zcfcgs1bn5wXRc/sKOtlDeGOZTiHZYRY1jRjpDgw6tzU0eOpyM6G40/U
P3o8kZ7/VIYAFwwDQsYc85NWLgzwwwX3tks1S5QhPCEOWdy3r7FvQEiotK7+ICSS
zgnfpyA+h9elBj5nRjPc6/HYVEPP2Ti/Qox0CpeRV6jzXX7orMVI8USXuWDf08ui
wzLxkaN4f0k4kCbKmbhLQj8RmCwlOyUcgb1w+5yMjLuc88v00lKJkQXoVePksGET
9C5coFTrerj6j1sdcFMG+QNCechyG/CBv1ViSF3D/2RN0bYds0JQqbjZJFJmj5YL
sRfrte2Zi8aZ7A7gVBnwCThOdL+0HXVI9WSoaifCQPN6/pVdAPQfyZjbIoMvLooh
NK1SzIQhR3d1++eIw68p2qg+ERskG0IJxlgKfhhdDc8Y4xEeHKus8NQgSVeTthvH
8Q5rZcELuTH+nAQx5vdFCA8VdWy6DeiOWxk2TnOAoW0Hx7UYhNc=
=J9If
-----END PGP SIGNATURE-----

--vkx5rhddyn7egncs--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170416202137.5x4vegfnm2pvkn6t>