Read AND write HFS+; How can I do this?

I’ve been trying to figure this one out for the last couple of days. I used to be able to enable read and write support for HFS+ (Journaled) on openSuSE but now I can’t. I recently updated openSuSE to 11.3 so the package I was installing by have been removed but I don’t remember how to do it.

I need to be able to write to HFS+ Journaled drives as we have 4 Macs in the house.

I have hfsutils installed but I do not know how this app works.

EDIT: I did some research on webpin and I noticed that some packages that used to be available for 11.1 are not available for 11.3. Here’s the list:
hfsplusutils (1.0.4)
hfsprogs (332.14)
libhfsp0 (1.0.4)

I’m guessing that hfsplusutils might have been what I was looking for…

As far as I can see, the drive I need is hfsplusutils but it has not been compiled for 11.3 and I can’t find the source… O_o

My guess would be that HFS and HFSPLUS support should be in the kernel.

Type “man mount” and scroll down and you will read:

-t vfstype
       The argument following the -t is used to indicate the file system type.  The file system
       types which are currently supported include: adfs, affs, autofs, cifs,  coda,  coherent,
       cramfs,  debugfs,  devpts, efs, ext, ext2, ext3, ext4, hfs, **hfsplus**, hpfs, iso9660, jfs,
       minix, msdos, ncpfs, nfs, nfs4, ntfs, proc, qnx4, ramfs, reiserfs, romfs,  smbfs,  sysv,
       tmpfs,  udf,  ufs, umsdos, usbfs, vfat, xenix, xfs, xiafs.  Note that coherent, sysv and
       xenix are equivalent and that xenix and coherent will be removed at some  point  in  the
       future  —  use  sysv instead. Since kernel version 2.1.21 the types ext and xiafs do not
       exist anymore. Earlier, usbfs was known as usbdevfs.  Note, the real list  of  all  sup-
       ported filesystems depends on your kernel.

Is that any chance you have done something on the Mac side to stop this working ? … ie have journalling enabled (which may need disabling) or something like that ?

Well journaling is enabled but there I can’t disable it. First, I’d need to format 1000GBs or so of data and then my OS wouldn’t be as stable. There is absolutely no way to write to journaled HFS drives?

Kernel support for hfsplus is “read only”. I don’t think the write feature even exists.
If you compare for example HFSPLUS and UFS in the kernel config, you will see there is no CONFIG_HFSPLUS_FS_WRITE option (unlike for UFS).

grep -e HFSPLUS -e UFS config-2.6.34.7-0.5-desktop 
CONFIG_HFSPLUS_FS=m
CONFIG_UFS_FS=m
CONFIG_UFS_FS_WRITE=y
# CONFIG_UFS_DEBUG is not set

Ok thanks… I guess I’ll have to install OS X to access my drives. Thanks a lot!

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Agreed; had to work on this for a project at work and days of scouring
turned up that Apple’s stupid proprietary, undocumented crap is stupid,
proprietary, and undocumented (and crap). While opening and extracting
HFS+ isn’t that bad writing it hasn’t been done outside of the Mac world
which is unfortunate, but oh well. In my case we were trying to create
…dmg files (which use the HFS+ filesystem, or can at least) that would not
only be loadable as installers on a Mac (.dmg files are basically
filesystems in a file, like an ISO on every platform but specific and
limited only to Mac) but would auto-pop up the window after “mounting”
when double-clicked. Silly trivial stuff that made the user experience
nicer for those who were limited to a Mac.

In the end we copied the desired files to a Mac (scp) and then used its
own development tools to make the HFS+ file. Not elegant, especially
since builds for Linux and even windows was all possible from a single
Linux box, and even Mac worked with HFS from the same system as long as we
didn’t want the auto-open feature provided by HFS+, but it worked.

Submit an enhancement request to Apple to not be dopes about their format
but don’t expect much. In the meantime, use a better filesystem.
Depending on how your setup works you may want to enable network shares of
some kind (SMB, SSH, etc.) on those drivers to access them over your
network, but if you really need local write then not sure where to go.

On the other hand, I do not remember seeing this option available last
time so maybe it does work somewhat, though no updates to the code for a
couple years:

https://build.opensuse.org/package/files?package=hfsplusutils&project=home%3Amkng

Good luck.

On 11/01/2010 10:36 AM, please try again wrote:
>
> forbore;2247075 Wrote:
>> Well journaling is enabled but there I can’t disable it. First, I’d need
>> to format 1000GBs or so of data and then my OS wouldn’t be as stable.
>> There is absolutely no way to write to journaled HFS drives?
>
> Kernel support for hfsplus is “read only”. I don’t think the write
> feature even exists.
> If you compare for example HFSPLUS and UFS in the kernel config, you
> will see there is no CONFIG_HFSPLUS_FS_WRITE option (unlike for UFS).
>
>
> Code:
> --------------------
> grep -e HFSPLUS -e UFS config-2.6.34.7-0.5-desktop
> CONFIG_HFSPLUS_FS=m
> CONFIG_UFS_FS=m
> CONFIG_UFS_FS_WRITE=y
> # CONFIG_UFS_DEBUG is not set
> --------------------
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMzvFGAAoJEF+XTK08PnB57IUQAJVa+Meo+f/x4IrpMf32qKec
Y6QU7cvIN8NGzJJq3GyC/Zyx5GYCGZlBI2m1o/rOhDfY9j1JNcLL+LSWmAWEJP8N
o3nA2ogBqAaUVhaRvStY8gRrXkuK8my+fYaKChv7OpyxOEbYVjvnreU4UtJFecUH
MNJU2wKtpxD+StgJlxHMk+4anuO2IwNGlq5prm3rphGjuog06InbHZLdgG2V58mY
K4JtoZyNeHN4di2ZDRSeEmjaY4Y6hKE6ZMAIIgM12CRg6h5hamhwojXOvaqliBkJ
388Tpr/2rxWIM3ujnOetyywhrDKoR/SrQLaLwi3Jc66IxZP4xK7upPCsvXenFc7V
sgtRxzhdRYIzGcSo8ud9wl4fK3q7r/Vu/vA4/NfIQ7rTNsdBGowax4W1QP2DqLQP
GzzIeKTlWRWXNfQl7kCsF+A+wWw7KIk8eyqzLxoUmKdIIPTyyKsq8CJ1qKKV2rLj
fTjg/gDCU2ld4+KOKBkSMPskC9it05l7AyxvxP4M5JYH2DKHT/zGdjBUMSz6CXax
f2/7kVKyl0UB8tHbLhj6hFGJwUpa837wqtnGTkxXTIo9Ce0hVh+GdT1Zfmd1cYsT
kB/XV5+XrL3zQQUuNU3WFdiEHMmrSGukQBQB0nliYz4wGN2rgu88a72MT4ZCCVT2
KBNSXml92TK3ZIJTnH0n
=LqOc
-----END PGP SIGNATURE-----