unshare - make local resource unavailable for mounting by remote sys- unshare



  • System Administration Commands					   unshare(1M)
    
    
    
    NAME
           unshare	-  make	local resource unavailable for mounting	by remote sys-
           tems
    
    SYNOPSIS
           unshare [-F protocol] [-a | [-t]	[pathname | sharename]]
    
    
    DESCRIPTION
           The unshare command unpublishes a file  system  share,  which  makes  a
           shared  local file system unavailable for file sharing protocol.	If the
           -F protocol option is omitted, then the	first  file  sharing  procotol
           listed  in the /etc/dfs/fstypes file used as the	default	sharing	proto-
           col.
    
    OPTIONS
           -F protocol
    
    	   Identify the	file sharing protocol.
    
    
           -a
    
    	   Unpublish all active	shares.
    
    
           -t
    
    	   Temporarily unpublish a share. By default, all  shares  are	perma-
    	   nently unpublished.
    
    
    FILES
           /etc/dfs/fstypes
    
    	   List	 of  file  sharing  protocols. NFS is the default file-sharing
    	   protocol.
    
    
           /etc/dfs/sharetab
    
    	   Contains a table of local resources published by the	share command.
    
    
    ATTRIBUTES
           See attributes(5) for descriptions of the following attributes:
    
    
    
    
           +-----------------------------+-----------------------------+
           |      ATTRIBUTE	TYPE	     |	    ATTRIBUTE VALUE	   |
           +-----------------------------+-----------------------------+
           |Availability		     |system/core-os		   |
           +-----------------------------+-----------------------------+
    
    SEE ALSO
           share(1M), shareall(1M),	attributes(5)
    
    NOTES
           If pathname or resourcename is not found	in the share  information,  an
           error message is	sent to	standard error.
    
    
           When  an	 unshare  command  completes successfully, a client mounting a
           file system specified in	that unshare command no	longer has  access  to
           that file system.
    
    
    
    SunOS 5.11			  24 Feb 2015			   unshare(1M)
    


© Lightnetics 2024