[parted-devel] hfs vs. hfsplus

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Fri Jul 16 08:02:26 BST 2021


On 7/15/21 9:08 PM, Brian C. Lane wrote:
> On Thu, Jul 15, 2021 at 11:52:02AM -0600, Curtis Gedak wrote:
>> Hi Brian,
>>
>> I just found the hfsplus-tools package on Fedora [1] so it looks like 
>> Fedora, Debian, Ubuntu, and openSUSE all have mkfs.hfs AND mkfs.hfsplus.
>>
>> [1] https://koji.fedoraproject.org/koji/packageinfo?packageID=2042
> 
> Actually you can't just look at the package names :) For whatever reason
> the Fedora version of hfsutils doesn't include mkfs.hfs, only fsck.hfs.

That's because hfsutils and hfsprogs work fundamentally different. hfsutils
is more like mtools, you have an hmount, hdir, hformat command and so on.

It doesn't use the VFS interface of the kernel.

> So it looks like most distributions have both. Maybe I should add
> another test case for hfsplus? The filesystem name in the test is 'hfs+'
> already though, so I'm not sure if there is any actual difference
> between them as far as parted is concerned.

hfsplus and hfs+ are the same thing.

> Thanks for the help!

Sure.

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the parted-devel mailing list