unshare_nfs.1m (2010 09)

u
unshare_nfs(1M) unshare_nfs(1M)
NAME
unshare_nfs - make local NFS file systems unavailable for mounting by remote systems
SYNOPSIS
/sbin/fs/nfs/unshare
[-F nfs] pathname
DESCRIPTION
The
unshare command makes local file systems unavailable for mounting by remote systems. The
shared file system must correspond to a line with NFS as the FSType in the
/etc/dfs/sharetab
file.
Options
The following options are supported:
-F This option may be omitted if NFS is the first file system type listed in the file
/etc/dfs/fstypes
.
EXAMPLES
If the file system being unshared is a symbolic link to a valid pathname, the canonical path (the path
which the symbolic link follows) will be unshared.
For example, if
/export/foo is a symbolic link to
/export/bar (/export/foo ->
/export/bar), the following unshare command will result in /export/bar as the unshared path-
name (and not /export/foo):
example# unshare -F nfs /export/foo
FILES
/etc/dfs/fstypes
file that registers distributed file system packages
/etc/dfs/sharetab
system record of shared file systems
AUTHOR
unshare_nfs was developed by Sun Microsystems, Inc.
SEE ALSO
share(1M), fstypes(4), sharetab(4).
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (2 pages)