From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF230C4332E for ; Fri, 20 Mar 2020 10:57:20 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 71BAA2076C for ; Fri, 20 Mar 2020 10:57:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 71BAA2076C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=petrovitsch.priv.at Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.92.3) (envelope-from ) id 1jFFKH-0003ug-5s; Fri, 20 Mar 2020 06:56:29 -0400 Received: from esgaroth.petrovitsch.at ([78.47.184.11] helo=esgaroth.tuxoid.at) by shelob.surriel.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.92.3) (envelope-from ) id 1jFFKE-0003uX-OW for kernelnewbies@kernelnewbies.org; Fri, 20 Mar 2020 06:56:27 -0400 Received: from [10.68.100.236] (h10-gesig.woeg.acw.at [217.116.178.11] (may be forged)) (authenticated bits=0) by esgaroth.tuxoid.at (8.15.2/8.15.2) with ESMTPSA id 02KAuFFd018587 (version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 20 Mar 2020 11:56:15 +0100 Subject: Re: difference between /usr/lib/modules and /lib/modules To: Fabien R , kernelnewbies@kernelnewbies.org References: <3fe4a238-6b8d-d4ec-6bc6-fe06419466c4@free.fr> From: Bernd Petrovitsch X-Pep-Version: 2.0 Message-ID: <75d50e7e-312e-0fca-2104-10688f61212c@petrovitsch.priv.at> Date: Fri, 20 Mar 2020 10:56:15 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <3fe4a238-6b8d-d4ec-6bc6-fe06419466c4@free.fr> Content-Type: multipart/mixed; boundary="------------6162099FA1BE8E0393DD0CA0" Content-Language: en-US X-DCC-x.dcc-servers-Metrics: esgaroth.tuxoid.at 104; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: clamav-milter 0.97 at esgaroth.tuxoid.at X-Virus-Status: Clean X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernelnewbies-bounces@kernelnewbies.org This is a multi-part message in MIME format. --------------6162099FA1BE8E0393DD0CA0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! On 20/03/2020 10:24, Fabien R wrote: [...] > Being used to cross-compile my kernel on a faster machine, I noticed th= e existence of both directories > after installing it with update-grub. > Since 'du' showed that they have the same size, it's a waste of space. > Is it possible to use only one of them ? /usr/lib/modules doesn't exist on Ubuntu (and TTBOMK it doesn't exit in the Fedora/RedHat-world - can't check right now). Are you sure they are actually different (and don't have e.g. the same inode number)? MfG, Bernd --=20 "I dislike type abstraction if it has no real reason. And saving on typing is not a good reason - if your typing speed is the main issue when you're coding, you're doing something seriously wrong." - Linus Torvalds --------------6162099FA1BE8E0393DD0CA0 Content-Type: application/pgp-keys; name="pEpkey.asc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attach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9JHCzAmDWmHobFqsemr +2umZxCGzqLttmILn61NdmQvmauDFjNw383ngbMbk4bhduaWWV5dDlXmbsi4bDk6 HCaskYsbEHXXoOmb/ts7lP6ifqvT1ZfuogJfn5bXv1Sm4IJubJ4S4ZYrLg2fKlWH GWMRJlAOV5swTOmw4Gk/PV6jR/ioZxRiZtSZK1Pkso0gbla+HLY4OCo68eafP66p H2CEDcqDEBnjApKnTO1a6DtRkQzEs0aLhvXwhvt/HL6/lXIVQA=3D=3D =3DGX6K -----END PGP PUBLIC KEY BLOCK----- --------------6162099FA1BE8E0393DD0CA0 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --------------6162099FA1BE8E0393DD0CA0--