unshare(1Mnfs)
unshare --
make local NFS resource unavailable for mounting by remote systems
Synopsis
unshare {pathname|resource}
Description
The unshare command makes local resources unavailable for
mounting by remote systems.
Options
The following options are available to the unshare command:
- pathname
-
The pathname of the resource to be unshared.
- resource
-
The name of the resource to be unshared.
Files
- /etc/dfs/fstypes
-
- /etc/dfs/sharetab
-
Usage
The NFS®-specific unshare command is called by the
/usr/sbin/unshare command when the -F nfs option
specified.
The shared resource must correspond to a line with NFS as the
fstype in the file /etc/dfs/sharetab.
Only a privileged user can execute this command.
Exit codes
- 0
-
Successful exit
- 33
-
Usage error
- 35
-
Could not delete from sharetab
- 36
-
Could not unshare
References
share(1Mnfs),
share(1M),
unshare(1M)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.