Linux – On Linux, can you write to HFS+ extended attributes

filesystemshfs+linux

I'm in the process of setting up a file server, and I'm looking for a way to preserve extended attributes in files that come from OS X machines, and manipulate them while the file is on the server. Obviously (well, presumably) this will require using HFS+ on the server, which is not a problem (unless there are hidden downsides I should know about), but I'm concerned that the support for HFS+ is minimal and will either (1) not preserve these attributes, or (2) preserve them but require copying the file to an OS X machine to manipulate them.

How complete is the support for HFS+ in Linux? Will I be able to do everything I've mentioned?

Best Answer

No I do not believe that either the native HFS+ driver or the Paragon software HFS+ products support extended attributes.

According to the HFS+ Wikipedia page the status of these drivers is every basic in the features that they support and have been known to corrupt HDDs in certain situations.

excerpt from CentOS thread

On Wednesday, March 07, 2012 01:17:15 PM Wessel van der Aart wrote:

so i add user_xattr and acl to my fstab options but then it fails to mount. checking the error in dmesg just gives me ¨hfs: unable to parse mount options¨. does anyone know what´s going on and what i should do to make this work?

Well, having used the in-kernel HFS+ filesystem driver before, and found it lacking in a number of areas (like massive corruption under heavy load or when unlinking lots of files) I bought the commercially supported Paragon NTFS&HFS drivers.

excerpt from CentOS thread

i tried their free version today. at first it did look promising but as soon i was to perform actions on files with acl's on them the whole system came down hard and leaving my external HDD corrupted. after several hours i've decided to give up and go with ext4 but still thanks!

References

Related Question