From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1jzFh7-0004fP-PW for mharc-grub-devel@gnu.org; Sat, 25 Jul 2020 04:38:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzFh5-0004f7-JM for grub-devel@gnu.org; Sat, 25 Jul 2020 04:38:11 -0400 Received: from mout.gmx.net ([212.227.15.18]:32905) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzFh3-0005p3-Hc for grub-devel@gnu.org; Sat, 25 Jul 2020 04:38:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1595666286; bh=aBFCxiiSNMiNzUy0rcu04OMUCC5Hy2tfpIxHPfMrTnk=; h=X-UI-Sender-Class:Date:From:To:Subject:References:In-Reply-To; b=J82fsc2KJIyirTRFbCupRbH/y4LIsxeTxC3GwHJQ6kiRkqRDZtzuku4v9gatyR7BP /sy2kO/8UHqwUWbMszZvxh9oJX3Z4wL8j4G7oOnlkaYDZye/KPOQUPVvipc25Crs/O njE12kEvOtkCRWJCAFyrmYcHF0GUZ7bb536Bix1k= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from scdbackup.webframe.org ([79.222.42.126]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mt79P-1knMGt1BuL-00tRAY for ; Sat, 25 Jul 2020 10:38:06 +0200 Date: Sat, 25 Jul 2020 10:38:34 +0200 From: "Thomas Schmitt" To: grub-devel@gnu.org Subject: Re: grub-mkrescue fails with HFS+ error possibly due to directory size Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable References: <7705709255276733552@scdbackup.webframe.org> In-Reply-To: <7705709255276733552@scdbackup.webframe.org> Message-Id: <28267733922486821160@scdbackup.webframe.org> X-Provags-ID: V03:K1:Eqt9iNOA6nSfmO6GWTs668BaFhZCadfzXp0C+2mudMjNNf+D+Bm KGmvi/dplxu8F5U2/b7xJcOlF6hAhbpZtuFdoyaLTF4BrpfNZsKGvILCohnM8Yvp+ZaKSvU vaW6WuPoSh/MXn21vCXWcFK7d7JeHHoWVjCx7hFsU94KRYjHvl0aSp3xS9zgbt8PSqHIzoA 92grS0MIKzhTldBVGI8Vw== X-UI-Out-Filterresults: notjunk:1;V03:K0:XIk1ngT3zsM=:W9ly2ZfeGuyHTzM8TQ7xtD HlknmnrAgP4NEyHmnNwIhYa8QscoWVVHOlQaN2FgV4T1Kjk4U1MIwSTa7AdIs6qs5uxHvY418 d9v2fF//k0N1+ja7fn9DPKw/+zHf0dtnxXvKfACLjeXecNbEX2a05H5mGfPMjX+AePCgb3vEV WAyCuvVFKluP3zCrfOhZ2JiJX+1en8gYzttJ9ATrDz2pCEh/bTe+cPPtifnHiZXGQ0oceWCL/ 9z7+CEf8Cts9N5TCkZvS4rFxA38nsbENQ86wf/ykBwQCss8Z53HjA2juJXtR81PGiB4zOi+Qb rp+Ly/uYEc02S3S216QQ1VQvNjI32nsAl6Nr72KNDfVn2Gp7xo1sBZPUX7ChEw0O2kHIbzeub nkw7FzCypqcugEIt86v75UAuKANJ9qzvSffMe2IUpLIJRIZQBJpOEtKy3Kr3wGyy4rWlmv3mE 8gHIHrDUlEhdpNehLJozo0F6gkBFbY0esI8H4dDwXaIkhgUy/BE93bFutphnopCLL1Tho1EZz DVG8oNsIb3PL+hnKzlVmV29diOveR7xI3krVpKUuoCTr9PMgGbK5KMBVejz65JHojYzflj1iD FKkbmnYWzFcYXakfQm0cc/Qb1xHAmT/ZkF1nZQqYGN3fp3BFAZdNsXo6Q9+rOjqwu/M2LchPw gk70Ezj5uziDWtcPu9V3FIsAIABXnevcNkqJdRsXvGRTzz8PnSDwIk4d6hNzMPNwrUFrB8T0O PwQ5vhVGrfXXAx7WTyaU0YIjR4T6w+TCpsgSl4tWZnJC9zV75uK1/0YR3JzArQ/mr+sGdnXk0 ztebg7XVBb0J1nWejtg6cPDqW9GQh3rEWg1Ssj2FktgIGlACI66TBdQOUvbeGR8k41dQgH+v0 +6ozLT0yzxxF8zTeoV6Qz/2LeD3Rbyz2+WNU/NS+tM9d1K2g+ZwtdjHWjxjO9zfDGnhmagYB+ znw2lWv16HCuVgIAWUovYtba/DXKDMIaPzpfZy/pGAUJ+LuNh1Lyv272ue/8/ms3b+7hJVId2 iSB4knhmh7HHAann0E6y63jqN5s8+Eq7IxF8pQlPbGWrv33tHNcWNWlkh14gSmRqAH2Hwd5RN 99VOb/W+uW78kzT1Bcn1cA8Ho4R1B4BNj8zctsF6THXpzsiYxZEpwqLZ6rHguEWy0QCk550kb L8MvKfxIpX8eiOXIC6oevSQ108fSVCjrbKnFkQk/St8rKG9IbwTKTJRAcA+P7uhpSY5L7BlYE QTM/bekfTl9Nx/t+2bjmsa/CnqkALbkgVFVLetg== Received-SPF: pass client-ip=212.227.15.18; envelope-from=scdbackup@gmx.net; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/25 04:38:06 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -37 X-Spam_score: -3.8 X-Spam_bar: --- X-Spam_report: (-3.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2020 08:38:11 -0000 Hi, what shall be done about the failure of grub-mkrescue for I386_EFI, X86_64_EFI, and POWERPC_IEEE1275 with very large input file trees ? https://lists.gnu.org/archive/html/grub-devel/2020-06/msg00062.html libisofs now emits a better error message Too many files in HFS+ directory tree instead of Too much files to mangle, cannot guarantee unique file names man xorrisofs now says: WARNING: The HFS+ implementation in libisofs has a limit of 125,829,120 bytes for the size of the overall directory tree. This suffices for about 300,000 files of normal name length. If the limit gets exceeded, a FAILURE event will be issued and the ISO production will not happen. But a solution of the problem itself is out of my reach. Possible ways to go: - Enhance libisofs to create "HFS+ map nodes" for more tree storage. (Would need help from Vladimir Serbinenko and substantial testing.) - Disable -hfsplus in grub-mkrescue by default and have a new option to enable it for the antique Macs which need it. (It would be not enough for the user to just add xorrisofs option -hfsplus. Needed are the options pushed at http://git.savannah.gnu.org/cgit/grub.git/tree/util/grub-mkrescue.c#n= 718 up to line 731.) - Document the problem for grub-mkrescue and add a new option of grub-mkrescue which suppresses xorrisofs option -hfsplus. - Document for grub-mkrescue the existing workaround of adding as last arguments these three: -- -hfsplus off (Problem is that xorriso -as mkisofs cannot disable -hfsplus once it was given. But xorriso as itself can. "--" ends mkisofs emulation.) Have a nice day :) Thomas