Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
add comment

3 Answers

up vote 4 down vote accepted

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.

share|improve this answer
1  
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)? –  JanC Dec 10 '10 at 2:14
    
@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) –  Marco Ceppi Dec 10 '10 at 2:37
    
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+. –  JanC Dec 10 '10 at 13:15
add comment

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

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

share|improve this answer
add comment

Looking at the HFS+ driver in the kernel, it seems to have read & write support, but I have absolutely no idea how stable/useful/etc. it is...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.