Re: [syzbot] [hfs?] WARNING in hfs_write_inode

From: John Paul Adrian Glaubitz
Date: Wed Jan 04 2023 - 17:59:22 EST


Hello Arnd!

On 1/4/23 23:33, Arnd Bergmann wrote:
Adding Viacheslav Dubeyko to Cc, he's at least been reviewing
patches for HFS and HFS+ somewhat recently. The linux-m68k
list may have some users dual-booting old MacOS.

HFS/HFS+ is also used by PowerPC users on PowerMac hardware for both
exchanging data between MacOS and Linux as well as for booting Linux
using GRUB with a HFS/HFS+ /boot partition.

Debian's grub-installer creates an HFS partition from which GRUB loads
the kernel and the initrd [1]. In order to be able to update kernel and
initrd, the running Linux system needs to be able to read/write HFS/HFS+
partitions which is used for the /boot partition.

Adrian

[1] https://salsa.debian.org/installer-team/grub-installer/-/blob/master/grub-installer#L918

--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913