Name

mount_hfs

Synopsis

mount_hfs [-w] [-o mount_options] device mount_point
mount_hfs [-e] [-x] [-u user_ID] [-g group_ID] [-m mode]
[-o mount_options] device mount_point

Mounts HFS and HFS+ filesystems into the directory hierarchy. The first form is applicable to HFS+ volumes, the second to HFS.

Options

-e

Set the character set encoding. Defaults to Roman.

-g

Set group ownership on files. Defaults to the mount point’s group owner.

-m

Set the maximum permissions for files. The argument is an octal mode, as described in the chmod manpage.

-o

Take -o options as listed in the mount manpage.

-u

Set ownership on files. Defaults to the mount point’s owner.

-w

Mount an HFS+ volume with its HFS wrapper, if one exists. An HFS wrapper is required for the volume to boot Mac OS 9.

-x

Disable execute permissions.

device

The disk device filename, e.g., /dev/disk0s5.

mount_point

The directory on which the filesystem is mounted.

Get Mac OS X Tiger in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.