unshare_nfs — Make Local NFS File Systems Unavailable for Mounting by Remote Systems

Synopsis

/usr/sbin/unshare [-F nfs] pathname
					

Description

Use the unshare command to make 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.

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) is unshared.

For example, if /export/foo is a symbolic link to /export/bar (/export/foo -> /export/bar), the following unshare command uses /export/bar as the unshared path name, not /export/foo.

# unshare -F nfs /export/foo
					

Options

-F You can omit this option if NFS ...

Get Solaris™ 8 System Administrator's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.