[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    unshare_nfs(1M) manual page Table of Contents

Name

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

Synopsis

unshare [ -F nfs ] pathname

Availability

SUNWcsu

Description

The unshare command makes local filesystems unavailable for mounting by remote systems. The shared filesystem must correspond to a line with NFS as the FSType in the file /etc/dfs/sharetab.

Options

-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

See Also

share(1M)

Notes

If the filesystem 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


Table of Contents