DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

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)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004