How well is the HFS+ filesystem supported?

18,207

Solution 1

The kernel supports basic read support - however, journaling support is nearly non-existent which is needed for write support. By default most modern Macs (which utilize the HFS+ Filesystem) have Journaling enabled. For write support you'll need to first disable journaling on the HFS+ Partition:

sudo diskutil disableJournal [VolumeName]

Then, if needed, re-enable with:

sudo diskutil enableJournal [VolumeName]

However, as a warning - Journaling is an important part of any Filesystem which implements it. Disabling it in Mac OSX is not recommended and  can have adverse affects. There has been work to include journaling support for the HFS+ driver in the kernel - but that it still some time away.

Solution 2

SuperUser has a great answer for mounting HFS+ partitions in read/write mode here:

https://superuser.com/questions/84446/how-to-mount-a-hfs-partition-in-ubuntu-as-read-write

Share:
18,207

Related videos on Youtube

RusGraf
Author by

RusGraf

My goal here is usually to document.

Updated on September 17, 2022

Comments

  • RusGraf
    RusGraf over 1 year

    How well does Ubuntu support HFS+ (i.e. Mac formatted) filesystems? Can it read and write to them, and are there any potential problems to watch out for?

  • JanC
    JanC over 13 years
    Do you mean the HFS+ driver in the linux kernel doesn't work if journaling is enabled in Mac OS X? Or do you mean the linux driver will ignore the journal (which would be the same as what ext2/3 drivers for Windows do currently AFAIK)?
  • Michael Gundlach
    Michael Gundlach over 13 years
    @JanC You can't write without Journaling support. So if Journaling is enabled on an HFS+ partition you will only have a read-only mount. EXT2 does not have Journaling, and the driver for Windows to access EXT3 has Journaling support included in it (since it's been around since 2001)
  • JanC
    JanC over 13 years
    The ext2/3 driver for Windows I have used ignored the journal; it only supported ext2, and ignored the ext3 features, just like you can force-mount an ext3 as ext2 on linux and ignore the journal. So, good to know this is different for HFS+.