Skip to Content
Mac OS X in a Nutshell
book

Mac OS X in a Nutshell

by Jason McIntosh, Chuck Toporek, Chris Stone
January 2003
Intermediate to advanced
832 pages
32h 40m
English
O'Reilly Media, Inc.
Content preview from Mac OS X in a Nutshell

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

Sets the character set encoding. Defaults to Roman.

-g

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

-m

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

-o

Takes -o options as listed in the mount manpage.

-u

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

-w

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

-x

Disables execute permissions.

device

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

mount_point

The directory on which the filesystem will be mounted.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mac OS X Internals: A Systems Approach

Mac OS X Internals: A Systems Approach

Amit Singh
C++ In a Nutshell

C++ In a Nutshell

Ray Lischner
Linux Shell Scripting Cookbook - Third Edition

Linux Shell Scripting Cookbook - Third Edition

Clif Flynt, Sarath Lakshman, Shantanu Tushar
Optimized C++

Optimized C++

Kurt Guntheroth

Publisher Resources

ISBN: 0596003706Supplemental ContentCatalog PageErrata