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 pathname (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.