Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man8/unshare_nfs.8
Real path: /usr/share/man/man8/unshare_nfs.8
Zurück
'\" te .\" Copyright (c) 1989, AT&T. All rights reserved. .\" Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved. .TH unshare_nfs 8 "27 Nov 2017" "Oracle Solaris 11.4" "System Administration Commands" .SH NAME unshare_nfs \- make local NFS file systems unavailable for mounting by remote systems .SH SYNOPSIS .LP .nf \fBunshare\fR [\fB-F\fR nfs] \fIpathname\fR .fi .SH DESCRIPTION .sp .LP The \fBunshare\fR command makes local file systems unavailable for mounting by remote systems. The shared file system must correspond to a line with NFS as the \fIFSType\fR in the file \fB/etc/dfs/sharetab\fR. .SH OPTIONS .sp .LP The following options are supported: .sp .ne 2 .mk .na \fB\fB-F\fR\fR .ad .RS 6n .rt This option may be omitted if NFS is the first file system type listed in the file \fB/etc/dfs/fstypes\fR. .RE .SH FILES .sp .ne 2 .mk .na \fB\fB/etc/dfs/fstypes\fR\fR .ad .RS 21n .rt .RE .sp .ne 2 .mk .na \fB\fB/etc/dfs/sharetab \fR\fR .ad .RS 21n .rt .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Availability system/file-system/nfs .TE .sp .SH SEE ALSO .sp .LP \fBattributes\fR(7), \fBnfsd\fR(8), \fBshare\fR(8) .SH NOTES .sp .LP 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. .sp .LP For example, if \fB/export/foo\fR is a symbolic link to \fB/export/bar\fR (\fB/export/foo -> /export/bar\fR), the following \fBunshare\fR command will result in \fB/export/bar\fR as the unshared pathname (and not \fB/export/foo\fR): .sp .in +2 .nf example# unshare -F nfs /export/foo .fi .in -2 .sp .sp .LP 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 daemon (\fBnfsd\fR) 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 \fBnfsd\fR(8)