HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)
p
pfs_mount(1M) pfs_mount(1M)
NAME
pfs_mount, pfs_umount - mount and unmount CD-ROM file systems
SYNOPSIS
pfs_mount [-v -a]
pfs_mount [-v -a -f -n
][-t type ][-x xlat ][-o
options ] filesystem directory
pfs_mount [-v -a -f -n
][-x xlat ][-o options ] filesystem | directory
pfs_umount [ -v -a -c
] filesystem | directory
DESCRIPTION
pfs_mount attaches a named filesystem to the file system hierarchy at the pathname location directory ,
which must already exist. If directory has any contents prior to the
pfs_mount operation, these remain
hidden until the filesystem is once again unmounted. If filesystem is of the form host
:pathname,itis
assumed to be a remote file system.
In the case of a local mount,
pfs_mount
probes the specified character device to determine the
file system type. It then contacts the local
pfs_mountd.rpc program to register the specified directory
as a valid mounted file system.
pfs_mountd.rpc will reply with the address of the
pfsd.rpc who
will be handling all requests for files on that directory .
Remote mounts are very similar, except that both the local and remote mount daemons will be contacted.
The remote mount daemon will supply the PFS server address, and the local mount daemon will be con-
tacted to register the mount.
pfs_umount unmounts a currently mounted PFS file system, which can be specified as either a direc-
tory or a filesystem .
pfs_umount contacts the local mount daemon to determine what actions should be taken to perform the
unmount. If the file system was originally remotely mounted, the remote mount daemon is informed of
the unmount, and the file system is unmounted. Otherwise, it is simply unmounted.
pfs_mount and pfs_umount maintain a table of mounted file systems in /etc/pfs_mtab
, described
in pfs_fstab (5). If invoked without an argument,
pfs_mount displays the contents of this table. If
invoked with either a filesystem or a directory only, pfs_mount searches the file /etc/pfs_fstab
for a matching entry, and mounts the file system indicated in that entry on the indicated directory.
If a user unmounts a PFS file system with the
umount program, or interrupts the pfs_umount
pro-
gram before it has completed processing, the PFS daemons may leave the mount device open after the file
system is no longer accessible. To clear these problems, use the
-c flag for
pfs_umount.
PFS expects a
character device to be used for mounts, not a block device. Use of a block device
with PFS is not supported.
pfs_mount Options
-v Verbose. Display a message indicating each file system being mounted.
-a All. Mount all file systems described in the /etc/pfs_fstab file.
-f Fake an /etc/mnttab entry, but do not actually mount any file systems. Note: This
option has no effect on HP-UX 10.30 or later.
-n Mount the file system without making an entry in /etc/mnttab. Note: This option has
no effect on HP-UX 10.30 or later.
-x xlat Filename translation options. Any combination can be specified, although some combina-
tions do not make sense (i.e. dot_version and no_version).
no_version will suppress the printing of the version number (and semicolon) at the
end of ISO 9660 and High Sierra filenames.
dot_version replaces the version number (and semicolon) with a period followed by
the version number.
lower_case Converts upper to lower case on all file (and directory) names.
unix Shorthand for no_version and lower_case.
-t type Force the CD-ROM to be mounted as the specified type, if possible. Accepted types are:
HP-UX 11i Version 2: August 2003 − 1 − Hewlett-Packard Company Section 1M−−609