From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 04 07:53:35 2018 Received: (at 30604) by debbugs.gnu.org; 4 Mar 2018 12:53:35 +0000 Received: from localhost ([127.0.0.1]:43529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esT8w-0006FL-RR for submit@debbugs.gnu.org; Sun, 04 Mar 2018 07:53:35 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:37396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esT8v-0006FD-52 for 30604@debbugs.gnu.org; Sun, 04 Mar 2018 07:53:33 -0500 Received: from localhost (77.118.231.171.wireless.dyn.drei.com [77.118.231.171]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 8A0403367616; Sun, 4 Mar 2018 13:53:31 +0100 (CET) Date: Sun, 4 Mar 2018 13:53:27 +0100 From: Danny Milosavljevic To: ludo@gnu.org (Ludovic =?ISO-8859-1?Q?Court=E8s?=) Subject: Re: [bug#30604] [PATCH v8 2/7] linux-modules: Add install-modules. Message-ID: <20180304135327.0a103e57@scratchpost.org> In-Reply-To: <87y3j84xtu.fsf@gnu.org> References: <20180302153408.14091-1-dannym@scratchpost.org> <20180303135533.6112-1-dannym@scratchpost.org> <20180303135533.6112-3-dannym@scratchpost.org> <87y3j84xtu.fsf@gnu.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/s3HhKKL0oZ8Y2bY0RkrWxz1"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30604 Cc: 30604@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --Sig_/s3HhKKL0oZ8Y2bY0RkrWxz1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, On Sat, 03 Mar 2018 23:07:57 +0100 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > We could reuse modules.alias and modules.devname from the =E2=80=98linux-= libre=E2=80=99 > package (right?), but I guess it doesn=E2=80=99t hurt to generate custom = ones. Yes, but it would be somewhat dirty. Here's why: Linux-libre contains a superset of modules and also their modules.alias and modules.devname contain a superset of modules compared to the initrd. That means (1) modules.alias would contain aliases which map to modules which don't exist. Since we don't for-each it, who cares. (2) modules.devname would contain devnames for modules which don't exist. That means the boot code would create files in /dev which, when someone accesses them, would try to load modules which don't exist - and then the access would fail. Technically both are not bad, but (2) is bad "UX" practise nowadays - and not done in the Linux world any more since udev exists. I can still remember the days of 8540 entries static /dev filesystem (as in, really on the hard disk), 7000 of which didn't work (or even valid for this system type :P). If something goes wrong, good luck finding the needle in the haystack (which /dev file you can use to boot). --Sig_/s3HhKKL0oZ8Y2bY0RkrWxz1 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlqb7EcACgkQ5xo1VCww uqXPwAf+P1CjrHIU4Ewpz6ucWfrmOOxqL3oR5zvmf1xtQGitXspjCtfP7OQhEok4 NS43aa4Rcurf32znHZvciYwiTIvkziXGJS3aMh7RbbJc2M8VG13gYTLYr9+YRs28 GSGLIFlHKAjozMeyOHOv9zzpMVgTH0zVE0B1dlV+0ttGUxSXu00v9QX4aoWTh97p p7HNT/yHvdhfYFUJDjiEk63eSvSkLyvWMxqChGU2iTOv3EDCRFREzKMYWHGBfjpu 5wQRUW5uivoX116X0iA2ipwJ6mb8C31yqInEVAFxt6GFzP5+AmwIrdVrGfG4N/we NkQd9yJol2LXAPV4qI8pfU6h7aFkPQ== =P/RW -----END PGP SIGNATURE----- --Sig_/s3HhKKL0oZ8Y2bY0RkrWxz1--