All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [PATCH] Remove HFS support
Date: Fri, 19 Aug 2022 19:57:12 +0200	[thread overview]
Message-ID: <CAEaD8JMDfjkm=WDoBN-nGjhkw8edKv91sS9_w370MSZr-bCDpg@mail.gmail.com> (raw)
In-Reply-To: <0F68F479-0EC8-4BF8-B21D-81B5FC725226@physik.fu-berlin.de>

[-- Attachment #1: Type: text/plain, Size: 2486 bytes --]

No go from me either. Older macs may not be able to read HFS+ /boot. Also
HFS+ presents couple of problems the biggest one is that in case of sudden
reboot HFS+ often needs to be mounted by OSX or cleaning dirty flag
manually before it becomes writeable.

Le ven. 19 août 2022, 16:05, John Paul Adrian Glaubitz <
glaubitz@physik.fu-berlin.de> a écrit :

>
>
> > On Aug 19, 2022, at 3:59 PM, Daniel Kiper <dkiper@net-space.pl> wrote:
> >
> > On Fri, Aug 19, 2022 at 11:38:26PM +1000, Daniel Axtens wrote:
> >> HFS is so so very old now. According to Wikipedia, HFS was
> >> introduced in 1985 and the successor HFS+ came out in January
> >> 1998. Mac OS dropped support for writing HFS in 2009 and dropped
> >> support for reading HFS in 2019 with macOS 10.15.
> >>
> >> Grub's support for it doesn't survive contact with a fuzzer, and
> >> the issues involve some horrible mess of mutual recursion that
> >> would be time-consuming to sort out.
> >>
> >> HFS has been disabled under lockdown since commit 1c15848838d9
> >> ("fs/hfs: Disable under lockdown") which was part of an earlier
> >> spin of security fixes.
> >>
> >> I think it's time to consign HFS to the dustbin of history. It's
> >> firmly in the category of retrocomputing at this stage.
> >>
> >> This should not affect HFS+.
> >>
> >> There's a little bit of mess remaining: the macbless runtime
> >> command and HFS+ need the HFS headers for embedded volume support.
> >> I don't think that's really deployed any more, as it would have
> >> been part of the HFS->HFS+ transition, but I'm not really game to
> >> mess with either, in particular as macbless writes(!) to disk live.
> >> (I'm fairly sure the grub-macbless tool invokes code from the
> >> macbless module as well.)
> >>
> >> Signed-off-by: Daniel Axtens <dja@axtens.net>
> >
> > Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
> >
> > Daniel, thank you for preparing this patch!
> >
> > If I do not hear any major objections in the following weeks I will
> > merge this patch or a variant of it in the second half of September.
>
> We’re still formatting our /boot partitions for Debian PowerPC for
> PowerMacs using HFS, so this change would be a breaking change for us.
>
> So, that would be a no from Debian’s side.
>
> Adrian
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>

[-- Attachment #2: Type: text/html, Size: 3519 bytes --]

  reply	other threads:[~2022-08-19 17:57 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-19 13:38 [PATCH] Remove HFS support Daniel Axtens
2022-08-19 13:57 ` Daniel Kiper
2022-08-19 14:03   ` John Paul Adrian Glaubitz
2022-08-19 17:57     ` Vladimir 'phcoder' Serbinenko [this message]
2022-08-20 14:23       ` Daniel Axtens
2022-08-19 18:09     ` Steve McIntyre
2022-08-19 18:38       ` John Paul Adrian Glaubitz
2022-08-19 19:04         ` Dimitri John Ledkov
2022-08-19 19:45           ` Vladimir 'phcoder' Serbinenko
2022-08-20 14:05             ` Daniel Axtens
2022-08-24  7:17             ` John Paul Adrian Glaubitz
2022-08-24  7:16           ` John Paul Adrian Glaubitz
2022-08-20 14:13         ` Daniel Axtens
2022-08-19 19:01       ` Vladimir 'phcoder' Serbinenko
2022-08-26 15:46         ` John Paul Adrian Glaubitz
2022-08-26 17:02           ` Vladimir 'phcoder' Serbinenko
2022-08-20 13:53     ` Daniel Axtens
2022-08-24  7:21       ` John Paul Adrian Glaubitz
2022-08-26 13:31         ` Daniel Axtens
2022-08-26 15:17           ` Vladimir 'phcoder' Serbinenko
2022-08-30 18:28             ` Robbie Harwood
2022-09-01 14:01             ` Daniel Axtens
2022-08-26 15:27           ` John Paul Adrian Glaubitz
2022-08-30 16:37           ` Robbie Harwood
2022-08-30 17:21             ` John Paul Adrian Glaubitz
2022-08-30 18:43               ` Robbie Harwood

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='CAEaD8JMDfjkm=WDoBN-nGjhkw8edKv91sS9_w370MSZr-bCDpg@mail.gmail.com' \
    --to=phcoder@gmail.com \
    --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.