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_msdos

Synopsis

mount_msdos [-l | -s | -9] [-W filename] [-L locale] [-u user_ ID] [-g group_ID] [-m mode] [-o mount_options] device mount_ point
                  

Mounts HFS and HFS+ filesystems into the directory hierarchy.

Options

-9

Ignores files with Win95 long filenames and special attributes. This option may result in filesystem inconsistencies, so it’s better to use -s.

-g

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

-l

Lists and generates long filenames and separate creation, modification, and access dates on files. This is the default if any long filenames exist in the volume’s root directory, and neither -s nor -9 have been specified.

-L

Sets the locale for character set conversions. Defaults to ISO 8859-1.

-m

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

-o

Takes -o options as listed in the mount manpage.

-s

Ignores and disables generation of long filenames and separate creation, modification, and access dates on files. This is the default if no long filenames exist in the volume’s root directory, and -l has not been specified.

-u

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

-W

Specifies a file containing character set conversion tables.

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