Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > U

unshare_nfs(1M)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

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

SYNOPSIS

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

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.

EXAMPLES

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

FILES

/etc/dfs/fstypes

file that registers distributed file system packages

/etc/dfs/sharetab

system record of shared file systems

AUTHOR

unshare_nfs was developed by Sun Microsystems, Inc.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.