From owner-freebsd-arch@freebsd.org Sun Apr 16 20:21:38 2017 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75B63D410C9 for ; Sun, 16 Apr 2017 20:21:38 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 651B76C1 for ; Sun, 16 Apr 2017 20:21:38 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 61A50D410C8; Sun, 16 Apr 2017 20:21:38 +0000 (UTC) Delivered-To: arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61561D410C7 for ; Sun, 16 Apr 2017 20:21:38 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45C316C0 for ; Sun, 16 Apr 2017 20:21:38 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by freefall.freebsd.org (Postfix, from userid 1235) id 756A8788; Sun, 16 Apr 2017 20:21:37 +0000 (UTC) Date: Sun, 16 Apr 2017 22:21:37 +0200 From: Baptiste Daroussin To: arch@FreeBSD.org Subject: modules finding order Message-ID: <20170416202137.5x4vegfnm2pvkn6t@ivaldir.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vkx5rhddyn7egncs" Content-Disposition: inline User-Agent: NeoMutt/20170306 (1.8.0) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Apr 2017 20:21:38 -0000 --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--