All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Thomas Schmitt" <scdbackup@gmx.net>
To: grub-devel@gnu.org
Cc: jeffbai@aosc.io
Subject: Re: [PATCH] util/grub-mkrescue: specify -iso-level 3 in xorriso options
Date: Wed, 20 Sep 2023 11:16:08 +0200	[thread overview]
Message-ID: <21604296719204436647@scdbackup.webframe.org> (raw)
In-Reply-To: <k3m2lmm245xmgyrk7pshwvspky3m7lg3nrpdbhqtv4uuqiwsrw@heylnuooh34x>

Hi,

Gerd Hoffmann <kraxel@redhat.com> wrote:
> I doubt the vfat driver of the uefi firmware supports rock ride,
> and that is the driver used to load efi/boot/bootloongarch64.efi
> because grub is not yet loaded ...

xorrisofs option -iso-level 3 has no effect on the FAT filesystem in
the EFI boot image (/efi.img in the grub-mkrescue ISO). xorriso takes this
file as opaque input and just advertises it to the firmware.
Whether grub-mkrescue can represent "bootloongarch64.efi" in FAT is a
matter of the helper programs "mformat" and "mcopy". See line 845 ff. of
util/grub-mkrescue.c . Line 813 ff. shows that it already uses long names
"bootriscv32.efi" and "bootriscv64.efi

The effect of xorrisofs option -iso-level is descibed in the man page of
xorrisofs:

 -iso-level number
     Specify the ISO 9660 version which defines  the  limitations  of
     file  naming  and data file size. The naming restrictions do not
     apply to the Rock Ridge names but only to the low-level ISO 9660
     names.  There are three conformance levels:
     Level  1  allows ISO names of the form 8.3 and file size up to 4
     GiB - 1.
     Level 2 allows ISO names with up to 32 characters and file  size
     up to 4 GiB - 1.
     Level 3  allows ISO names with up to 32 characters and file size
     of up to 400 GiB - 200 KiB. (This size limitation is set by  the
     xorriso  implementation  and  not  by ISO 9660 which would allow
     nearly 8 TiB.)
     Pseudo-level 4 enables production of an additional ISO 9660:1999
     directory tree.

Levels 1 to 3 are specified in ECMA-119, 10 "Levels of interchange".
Pseudo-level 4 is an invention of mkisofs, although it would have been
better to give the ISO 9660:1999 tree an own option, like for Joliet.


Have a nice day :)

Thomas


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

      reply	other threads:[~2023-09-20  9:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-20  5:39 [PATCH] util/grub-mkrescue: specify -iso-level 3 in xorriso options jeffbai
2023-09-20  7:17 ` Thomas Schmitt
2023-09-20  7:53   ` Gerd Hoffmann
2023-09-20  9:16     ` 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=21604296719204436647@scdbackup.webframe.org \
    --to=scdbackup@gmx.net \
    --cc=grub-devel@gnu.org \
    --cc=jeffbai@aosc.io \
    /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.