summaryrefslogtreecommitdiff
path: root/static/freebsd/man9/vfs_getvfs.9 4.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man9/vfs_getvfs.9 4.html')
-rw-r--r--static/freebsd/man9/vfs_getvfs.9 4.html71
1 files changed, 0 insertions, 71 deletions
diff --git a/static/freebsd/man9/vfs_getvfs.9 4.html b/static/freebsd/man9/vfs_getvfs.9 4.html
deleted file mode 100644
index 917d858c..00000000
--- a/static/freebsd/man9/vfs_getvfs.9 4.html
+++ /dev/null
@@ -1,71 +0,0 @@
-<table class="head">
- <tr>
- <td class="head-ltitle">VFS_GETVFS(9)</td>
- <td class="head-vol">Kernel Developer's Manual</td>
- <td class="head-rtitle">VFS_GETVFS(9)</td>
- </tr>
-</table>
-<div class="manual-text">
-<section class="Sh">
-<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
-<p class="Pp"><code class="Nm">vfs_getvfs</code> &#x2014;
- <span class="Nd">returns a mount point given its file system
- identifier</span></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<p class="Pp"><code class="In">#include
- &lt;<a class="In">sys/param.h</a>&gt;</code>
- <br/>
- <code class="In">#include &lt;<a class="In">sys/mount.h</a>&gt;</code></p>
-<p class="Pp"><var class="Ft">struct mount *</var>
- <br/>
- <code class="Fn">vfs_getvfs</code>(<var class="Fa" style="white-space: nowrap;">fsid_t
- *fsid</var>);</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<p class="Pp">The
- <a class="permalink" href="#vfs_getvfs"><code class="Fn" id="vfs_getvfs">vfs_getvfs</code></a>()
- function returns the mount point structure for a file system given its file
- system identifier. The file system ID should have been allocated by calling
- <a class="Xr">vfs_getnewfsid(9)</a>; otherwise, it will not be found.</p>
-<p class="Pp" id="vfs_getvfs~2">A major user of
- <a class="permalink" href="#vfs_getvfs~2"><code class="Fn">vfs_getvfs</code></a>()
- is NFS, which uses the <var class="Vt">fsid</var> as part of file handles in
- order to determine the file system a given RPC is for. If
- <code class="Fn">vfs_getvfs</code>() fails to find the mount point related
- to <var class="Fa">fsid</var>, the file system is considered stale.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
- VALUES</a></h1>
-<p class="Pp">If <var class="Fa">fsid</var> is found, the mount point for the ID
- is returned; otherwise, <code class="Dv">NULL</code> is returned.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="PSEUDOCODE"><a class="permalink" href="#PSEUDOCODE">PSEUDOCODE</a></h1>
-<div class="Bd Li">
-<pre>if ((mp = vfs_getvfs(&amp;fhp-&gt;fh_fsid)) == NULL) {
- error = ESTALE;
- goto out;
-}</pre>
-</div>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
- ALSO</a></h1>
-<p class="Pp"><a class="Xr">vfs_getnewfsid(9)</a></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
-<p class="Pp">This manual page was written by <span class="An">Chad David</span>
- &lt;<a class="Mt" href="mailto:davidc@acns.ab.ca">davidc@acns.ab.ca</a>&gt;.</p>
-</section>
-</div>
-<table class="foot">
- <tr>
- <td class="foot-date">November 21, 2001</td>
- <td class="foot-os">FreeBSD 15.0</td>
- </tr>
-</table>