O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required