mount_hfs.1m (2010 09)

m
mount_hfs(1M) mount_hfs(1M)
NAME
mount_hfs: mount, umount - mount and unmount HFS file systems
SYNOPSIS
/usr/sbin/mount
[-l][-p|-v
]
/usr/sbin/mount -a
[-F hfs][-eQ
][-f]
/usr/sbin/mount
[-F hfs][-eQrV][
-f][-o specific_options ]{special directory }
/usr/sbin/mount
[-F hfs][-eQrV][
-f][-o specific_options ] special directory
/usr/sbin/umount -a
[-F hfs][
-v]
/usr/sbin/umount
[-v][-V]{special directory }
DESCRIPTION
The
mount command mounts file systems. Only a superuser can mount file systems. Other users can
use mount to list mounted file systems.
The
mount command attaches special , a removable file system, to directory , a directory on the file tree.
directory , which must already exist, will become the name of the root of the newly mounted file system.
special and directory must be given as absolute path names. If either special or directory is omitted,
mount attempts to determine the missing value from an entry in the /etc/fstab file. mount
can be
invoked on any removable file system, except
/.
If
mount is invoked without any arguments, it lists all of the mounted file systems from the file system
mount table, /etc/mnttab.
The
umount command unmounts mounted file systems. Only a superuser can unmount file systems.
Options (mount)
mount recognizes the following options:
-a Attempt to mount all file systems described in /etc/fstab. All optional fields in
/etc/fstab must be included and supported. If -F hfs is specified, all HFS file
systems in /etc/fstab are mounted. If noauto is specified in an entrys option
list, this entry is skipped. File systems are not necessarily mounted in the order
listed in /etc/fstab.
-e Verbose mode. Write a message to standard output indicating which file system is
being mounted.
-f Force the file system to be mounted, even if the file system clean flag indicates that
the file system should have fsck run on it before mounting (see fsck (1M)). This
option is valid only on HFS file systems.
-F hfs Specify the HFS file system type (see fstyp (1M)).
-l Limit actions to local file systems only.
-o specific_options
Specify options specific to the HFS file system type. specific_options is a list of
comma separated suboptions and/or keyword/attribute pairs intended for the HFS
specific module of the command.
The following specific_options are valid on HFS file systems.
defaults Use all default options. When given, this must be the only option
specified.
rw Mount read-write (default).
ro Mount read-only.
suid Allow set-user-ID execution (default).
nosuid Do not allow set-user-ID execution.
behind Enable, where possible, asynchronous writes to disk.
delayed Enable delayed or buffered writes to disk. This is the default.
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (4 pages)