Re: [PATCH] hfs: Sanity check the root record
From: Leo Stone
Date: Sat Nov 30 2024 - 23:27:25 EST
On Tue, Nov 26, 2024 at 10:52:54PM +0100, Jan Kara wrote:
> Yes, this strict check would make sense to me. I just don't know HFS good
> enough whether this is a safe assumption to make so it would be good to
> test with some HFS filesystem.
I tested with the System 7.5.3 install disks, as well as 2 disks I
formatted inside System 7 in an emulator. The root directory always had
entrylength of 70, and it looks like every directory has an entrylength
of 70.
I'll resend as a PATCH v2.
Thanks,
Leo