summaryrefslogtreecommitdiff
path: root/share/man/man9/vfs_cache.9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9/vfs_cache.9')
-rw-r--r--share/man/man9/vfs_cache.937
1 files changed, 6 insertions, 31 deletions
diff --git a/share/man/man9/vfs_cache.9 b/share/man/man9/vfs_cache.9
index 071cf8b53e0..5151dde2081 100644
--- a/share/man/man9/vfs_cache.9
+++ b/share/man/man9/vfs_cache.9
@@ -1,30 +1,6 @@
-.\" $OpenBSD: vfs_cache.9,v 1.1 2005/06/17 15:18:55 jaredy Exp $
-.\" Copyright (c) 1989, 1993
-.\" The Regents of the University of California. All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. Neither the name of the University nor the names of its contributors
-.\" may be used to endorse or promote products derived from this software
-.\" without specific prior written permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
+.\" $OpenBSD: vfs_cache.9,v 1.2 2005/06/20 15:48:52 jaredy Exp $
+.\" Written by Jared Yanovich <jaredy@openbsd.org>
+.\" Public domain, 2005/6/17
.Dd June 17, 2005
.Dt VFS_CACHE 9
.Os
@@ -78,11 +54,10 @@ its encompassing directory's vnode generation number.
Negative caching is also performed so that frequently accessed path
names of files that do not exist do not result in expensive lookups.
.Pp
-For simplicity and economy of storage, names longer than the maximum
-length
+File names with length longer than
.Dv NCHNAMLEN
-are not cached; they occur infrequently in any case, and are almost
-never of interest.
+are not cached to simplify lookups and to save space.
+Such names are rare and are generally not worth caching.
.Pp
The
.Nm vfs_cache