Comment 27 for bug 680606

Revision history for this message
Mike (mike32767) wrote :

I can confirm the buggy behaviour of this driver in a different situation.

1. Connect new USB disk, previously partitioned with GUID partition map on OS X but otherwise unused.
2. "mkfs.hfsplus -v Media /dev/sdi2"
3. "mount -t hfsplus /dev/sdi2 /mnt"
4. Copy a number of large files to /mnt, between a few MB and about 4GB
5. "umount /mnt"
6. "fsck.hfsplus /dev/sdi2"

The results are, surprisingly, non-determinstic: running fsck multiple times in succession will give different results, sometimes it finds no errors, usually it finds some unrecoverable error and exits, but every run is different.

Either way when I plug this drive into a machine running OS X the drive may or may not mount without errors, but although the directory structure appears intact none of the files can be read successfully.

The above steps were tried twice, on two different disks.

This driver isn't even close to fit for purpose and data loss is virtually guaranteed. The driver should be pulled from the kernel, or AT THE VERY LEAST a sizeable warning should be displayed on install, or on mounting a partition read/write.

Linux kernel is standard ubuntu 3.13.0-46-generic, and hfsprogs version is 332.25-11