7.11. Hfsutils-3.2.6

The Hfsutils package contains a number of utilities for accessing files on hfs filesystems. It is needed to run ybin.

7.11.1. Installation of Hfsutils

If you have created, or will create, the ext2 filesystem on your Mac using ext2fsx you can jump ahead to Section 7.13, “Yaboot-1.3.17.”. The next three packages are for people who cannot do that.

Apply the following patch to add a missing errno.h include and allow HFSutils to recognize devices larger than 2GB:

patch -Np1 -i ../hfsutils-3.2.6-fixes-1.patch

Prepare Hfsutils for compilation:

CC="${CC}" ./configure --prefix=/tools

Compile the package:

make

Install the package:

make install

Details on this package are located in Section 10.100.2, “Contents of Hfsutils.”