MOUNT[HFS](1M) — HP-UX
Series 200, 300, 800 Only
NAME
mount, umount − mount and dismount file system
SYNOPSIS
/etc/mount [ special directory [ −r ] [ −f ] ]
/etc/mount -a
/etc/umount special
/etc/umount -a
DESCRIPTION
Mount announces to the system that a removable file system is present on the device special. The directory must exist already; it becomes the name of the root of the newly mounted file system. Directory must be given as an absolute path name.
These commands maintain a table of mounted devices in /etc/mnttab. If invoked with no arguments, mount prints the table.
The optional argument −r indicates that the file system is to be mounted read-only. Physically write-protected file systems must be mounted in this way or errors will occur when access times are updated, whether or not any explicit write is attempted.
Umount announces to the system that the removable file system previously mounted on device special is to be removed.
The −f option indicates that the file system should be mounted even if the file system clean flag indicates that the file system should be fsck’ed before mounting.
If the −a option is present for either mount or umount , and all of the optional fields in /etc/checklist are included and supported, all of the file systems described in /etc/checklist are attempted to be mounted or dismounted. In this case, special and directory are taken from /etc/checklist. The special file name used is the block special name from /etc/checklist.
DIAGNOSTICS
Attempts to mount a currently-mounted volume under another name will result in an error [EBUSY].
Special and directory names recorded in /etc/mnttab are truncated to MNTLEN bytes.
Umount complains if the special file is not mounted or if it is busy. The file system is busy if it contains an open file or some user’s working directory.
HARDWARE DEPENDENCIES
The HFS file system is implemented on Series 200 beginning with HP-UX Release 5.0, and on Series 300 and Series 800.
WARNINGS
Some degree of validation is done on the file system, however it is generally unwise to mount garbage file systems.
FILES
| /etc/checklist | file system table |
| /etc/mnttab | mount table |
AUTHOR
Mount[HFS] was developed by HP, AT&T, and the University of California, Berkeley.
SEE ALSO
fsclean(1M), mount(2), mnttab(4), checklist(4).
Hewlett-Packard Company — Version B.1, May 11, 2021