HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
m
mount_lofs(1M) mount_lofs(1M)
NAME
mount, umount - mount and unmount an LOFS file system
SYNOPSIS
/usr/sbin/mount
[-p|-v]
/usr/sbin/mount -a
[-F lofs][-eQ]
/usr/sbin/mount
[-F lofs][-eQrV][-o specific_options]{special_directorydirectory}
/usr/sbin/mount
[-F lofs][-eQrV][-o
specific_options] special_directory directory
/usr/sbin/umount
[-v][-V]{special_directorydirectory}
/usr/sbin/umount -a
[-F lofs][-v]
DESCRIPTION
The
mount command mounts LOFS file systems. Only superuser can mount LOFS file systems. Other
users can use mount to list mounted file systems.
mount, attaches special_directory, a directory from one of the mounted file systems, to directory,an
another directory in one of the mounted file systems. This enables new file systems to be created, which
provide access to existing directories or file systems using alternate path names. Both special_directory
and directory should already exist. directory will become the root of the newly mounted LOFS file system,
containing the file system hierarchy under special_directory. special_directory and directory must be
specified as absolute path names. If either special_directory 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 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 lofs is specified, all LOFS
file systems in /etc/fstab are mounted. If noauto is specified in an entry’s
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 lofs Specify the LOFS file system type (see fstyp(1M)).
-l Limit actions to local file systems only. LOFS is a local file system.
-o specific_options
Specify options specific to the LOFS file system type. specific_options is a list of
comma separated suboptions and/or keyword/attribute pairs intended for the LOFS
specific module of the command.
The following specific_options are valid on an LOFS file system:
defaults Use all default options. When used, this must be the only option
specified.
ro Read-only (see WARNINGS below).
-p Report the list of mounted file systems in the /etc/fstab format.
-Q Prevent display of error messages resulting from an attempt to mount already
mounted file systems.
-r Mount the specified file system as read-only (see WARNINGS below).
-v Report the output in a new style. The new style has the file system type and flags
displayed in addition to the old output. The directory and special_directory fields are
reversed.
Section 1M−−516 Hewlett-Packard Company − 1 − HP-UX 11i Version 1: September 2005