From: "Thomas Schmitt" <scdbackup@gmx.net>
To: grub-devel@gnu.org
Subject: Re: grub-mkrescue fails with HFS+ error possibly due to directory size
Date: Sat, 25 Jul 2020 10:38:34 +0200 [thread overview]
Message-ID: <28267733922486821160@scdbackup.webframe.org> (raw)
In-Reply-To: <7705709255276733552@scdbackup.webframe.org>
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#n718
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
prev parent reply other threads:[~2020-07-25 8:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-11 12:17 grub-mkrescue fails with HFS+ error possibly due to directory size Thomas Schmitt
2020-06-12 9:30 ` Thomas Schmitt
2020-07-25 8:38 ` Thomas Schmitt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=28267733922486821160@scdbackup.webframe.org \
--to=scdbackup@gmx.net \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.