10.63. Hfsutils-3.2.6

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

10.63.1. Installation of Hfsutils

The following patch contains fixes. One that fixes a missing errno.h, the other that allows HFSutils to recognize beyond 2gb devices:

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

Prepare Hfsutils for compilation:

./configure --prefix=/usr

Compile the package:

make

Install the package:

make install

10.63.2. Contents of Hfsutils

Installed programs: hattrib, hcd, hcopy, hdel, hdir, hfsutils, hformat, hls, hmkdir, hmount, hpwd, hrename, hrmdir, humount, hvol (these are all hardlinks to hfsutils).

Short Descriptions

hattrib

Change FS file or directory attributes.

hcd

Change working HFS directory.

hcopy

Copy files to or from an HFS volume.

hdel

Delete both forks of an HFS file.

hdir

Display an HFS directory in long format.

hformat

Create a new HFS filesystem and make it current.

hfsutils

Tools for accessing Macintosh HFS-formatted volumes.

hls

List files in an HFS directory.

hmkdir

Create a new HFS directory.

hmount

Introduce a new HFS volume and make it current.

hpwd

Print the full path to the current HFS working directory.

hrename

Rename or move an HFS file or directory.

hrmdir

Remaove an empty HFS directory.

humount

Remove an HFS volume from the list of known volumes.

hvol

Display or change the current HFS volume.