Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
System Administration Commandsunshare_nfs(1M)


NAME

 unshare_nfs - make local NFS file systems unavailable for mounting by remote systems

SYNOPSIS

 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 file /etc/dfs/sharetab.

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.

FILES

 
/etc/dfs/fstypes
/etc/dfs/sharetab

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWnfssu

SEE ALSO

 

share(1M), attributes(5)

NOTES

 

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

SunOS 5.9Go To TopLast Changed 6 Nov 2000

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.