unshare_nfs man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

unshare_nfs(1M)		System Administration Commands	       unshare_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 TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │SUNWnfssu			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       nfsd(1M), share(1M), attributes(5)

NOTES
       If  the	file system being unshared is a symbolic link to a valid path‐
       name, 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

       For  file  systems that are accessed by NFS Version 4 clients, once the
       unshare is complete, all NFS Version  4	state  (open  files  and  file
       locks)  are released and unrecoverable by the clients. If the intent is
       to share the file system after some administrative action, the NFS dae‐
       mon  (nfsd)  should first be stopped and then the file system unshared.
       After the administrative action is complete, the file system would then
       be shared and the NFS daemon restarted. See nfsd(1M)

SunOS 5.10			  6 May 2003		       unshare_nfs(1M)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net