summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2003-04-20 20:38:28 +0000
committerjmc <jmc@openbsd.org>2003-04-20 20:38:28 +0000
commita81b1a6ddc3cbaf860a97db26453c78c29ee98dd (patch)
tree7ca07d387b378c36f57dab7ae2c852fbe760b3dd
parentincorrect macro, with too many arguments; (diff)
downloadwireguard-openbsd-a81b1a6ddc3cbaf860a97db26453c78c29ee98dd.tar.xz
wireguard-openbsd-a81b1a6ddc3cbaf860a97db26453c78c29ee98dd.zip
typos, a little grammar, and lots of space at EOL deleted;
-rw-r--r--share/man/man9/vaccess.94
-rw-r--r--share/man/man9/vdevgone.910
-rw-r--r--share/man/man9/vfinddev.94
-rw-r--r--share/man/man9/vget.96
-rw-r--r--share/man/man9/vinvalbuf.96
-rw-r--r--share/man/man9/vn_lock.916
-rw-r--r--share/man/man9/vrecycle.94
-rw-r--r--share/man/man9/vwaitforio.914
8 files changed, 33 insertions, 31 deletions
diff --git a/share/man/man9/vaccess.9 b/share/man/man9/vaccess.9
index 42779f1db3d..7228e268aa6 100644
--- a/share/man/man9/vaccess.9
+++ b/share/man/man9/vaccess.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vaccess.9,v 1.3 2003/03/18 12:53:57 david Exp $
+.\" $OpenBSD: vaccess.9,v 1.4 2003/04/20 20:38:28 jmc Exp $
.\"-
.\" Copyright (c) 2001 Robert N. M. Watson
.\" All rights reserved.
@@ -91,6 +91,6 @@ This man page was originally written by
for
.Fx .
It was modified to represent the
-.Ox
+.Ox
implementation by
.An Peter Werner .
diff --git a/share/man/man9/vdevgone.9 b/share/man/man9/vdevgone.9
index 654362b2b72..c9b13e06e0e 100644
--- a/share/man/man9/vdevgone.9
+++ b/share/man/man9/vdevgone.9
@@ -1,6 +1,6 @@
-.\" $OpenBSD: vdevgone.9,v 1.1 2002/02/28 19:22:05 csapuntz Exp $
+.\" $OpenBSD: vdevgone.9,v 1.2 2003/04/20 20:38:28 jmc Exp $
.\"-
-.\" Copyright (c) 2002 Peter Werner
+.\" Copyright (c) 2002 Peter Werner
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -54,11 +54,11 @@ Its arguments are:
.It Fa maj
The major number of the device.
.It Fa minl
-The lowest minor number for the device to be revoked
+The lowest minor number for the device to be revoked.
.It Fa minh
-The highest minor number for the device to be revoked
+The highest minor number for the device to be revoked.
.It Fa type
-The type of the device, must be one of:
+The type of the device; must be one of:
.Bl -tag -width ".Dv VBLK"
.It VBLK
Device is a block device
diff --git a/share/man/man9/vfinddev.9 b/share/man/man9/vfinddev.9
index 81c910d9341..a33e99372e1 100644
--- a/share/man/man9/vfinddev.9
+++ b/share/man/man9/vfinddev.9
@@ -1,6 +1,6 @@
-.\" $OpenBSD: vfinddev.9,v 1.1 2002/02/28 19:22:05 csapuntz Exp $
+.\" $OpenBSD: vfinddev.9,v 1.2 2003/04/20 20:38:28 jmc Exp $
.\"-
-.\" Copyright (c) 2002 Peter Werner
+.\" Copyright (c) 2002 Peter Werner
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
diff --git a/share/man/man9/vget.9 b/share/man/man9/vget.9
index 22f044be782..4714e21e452 100644
--- a/share/man/man9/vget.9
+++ b/share/man/man9/vget.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vget.9,v 1.3 2003/03/10 19:56:29 tedu Exp $
+.\" $OpenBSD: vget.9,v 1.4 2003/04/20 20:38:28 jmc Exp $
.\" -*- nroff -*-
.\"
.\" Copyright (c) 1996 Doug Rabson
@@ -42,7 +42,7 @@
.Fn vget "struct vnode *vp" "int flags" "struct proc *p"
.Sh DESCRIPTION
Get a vnode from the free list and increment its reference count.
-.Bl -tag -width flag
+.Bl -tag -width flags
.It Ar vp
the vnode to remove from the free list
.It Ar flags
@@ -58,7 +58,7 @@ as the name cache.
.Pp
When a vnode which is on the free list is used again, for instance if
the vnode was found in the name cache as a result of a call to
-.Xr VOP_LOOKUP 9
+.Xr VOP_LOOKUP 9 ,
then the new user must call
.Xr vget 9
to increment the reference count and remove it from the free list.
diff --git a/share/man/man9/vinvalbuf.9 b/share/man/man9/vinvalbuf.9
index 7668076576f..91863f9fa29 100644
--- a/share/man/man9/vinvalbuf.9
+++ b/share/man/man9/vinvalbuf.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vinvalbuf.9,v 1.3 2003/03/10 19:56:29 tedu Exp $
+.\" $OpenBSD: vinvalbuf.9,v 1.4 2003/04/20 20:38:28 jmc Exp $
.\"
.\" Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved.
.\"
@@ -49,7 +49,7 @@ flag is specified then the buffers on the dirty list are synced prior to being
released.
If the
.Dv V_SAVEMETA
-flag is set indirect blocks will not be flushed.
+flag is set, indirect blocks will not be flushed.
.Pp
Its arguments are:
.Bl -tag -width ".Fa spltimeo"
@@ -63,7 +63,7 @@ and
.Dv V_SAVE
indicates that dirty buffers should be synced with the disk.
.Dv V_SAVEMETA
-indicates the indirect blocks should not be flushed
+indicates the indirect blocks should not be flushed.
.It Fa cred
The user credentials that are used to
.Xr VOP_FSYNC 9
diff --git a/share/man/man9/vn_lock.9 b/share/man/man9/vn_lock.9
index bf54421cdcf..b684249578a 100644
--- a/share/man/man9/vn_lock.9
+++ b/share/man/man9/vn_lock.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vn_lock.9,v 1.5 2002/08/26 20:18:07 art Exp $
+.\" $OpenBSD: vn_lock.9,v 1.6 2003/04/20 20:38:28 jmc Exp $
.\"
.\" Copyright (c) 2001 Constantine Sapuntzakis
.\" All rights reserved.
@@ -40,7 +40,9 @@ The
function is used to acquire the vnode lock.
Certain file system operations require that the vnode lock be held when
they are called.
-See sys/kern/vnode_if.src for more details.
+See
+.Pa sys/kern/vnode_if.src
+for more details.
.Pp
The
.Fn vn_lock
@@ -50,8 +52,8 @@ Instead, the
.Fn vget
function should be used.
.Pp
-The
-.Fa flags
+The
+.Fa flags
fields may contain the following flags:
.Bl -column LK_INTERLOCK -offset indent
.It Dv LK_RETRY Ta
@@ -63,9 +65,9 @@ Don't wait if the vnode lock is held by someone else (may still
wait on reclamation lock on or interlock).
Must not be used with LK_RETRY.
.It Dv LK_EXCLUSIVE Ta
-Acquire an exclusive lock
+Acquire an exclusive lock.
.It Dv LK_SHARED Ta
-Acquire a shared lock
+Acquire a shared lock.
.El
.Pp
The
@@ -87,7 +89,7 @@ The LK_NOWAIT flag was set and the vn_lock would have slept.
.El
.Sh SEE ALSO
.Xr vnode 9
-.Sh BUGS
+.Sh BUGS
The locking discipline is bizarre.
Many vnode operations are passed locked vnodes on entry but release
the lock before they exit.
diff --git a/share/man/man9/vrecycle.9 b/share/man/man9/vrecycle.9
index 50fe7302d66..6fb45e6e06d 100644
--- a/share/man/man9/vrecycle.9
+++ b/share/man/man9/vrecycle.9
@@ -1,6 +1,6 @@
-.\" $OpenBSD: vrecycle.9,v 1.3 2003/03/08 23:17:18 jmc Exp $
+.\" $OpenBSD: vrecycle.9,v 1.4 2003/04/20 20:38:28 jmc Exp $
.\"-
-.\" Copyright (c) 2002 Peter Werner
+.\" Copyright (c) 2002 Peter Werner
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
diff --git a/share/man/man9/vwaitforio.9 b/share/man/man9/vwaitforio.9
index 2f9bca817eb..bdd266d131d 100644
--- a/share/man/man9/vwaitforio.9
+++ b/share/man/man9/vwaitforio.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vwaitforio.9,v 1.7 2003/02/26 15:05:07 david Exp $
+.\" $OpenBSD: vwaitforio.9,v 1.8 2003/04/20 20:38:28 jmc Exp $
.\"
.\" Copyright (c) 2001 Constantine Sapuntzakis
.\" All rights reserved.
@@ -38,7 +38,7 @@
The
.Fn vwaitforio
call sleeps until all asynchronous writes associated with the vnode
-.Nm vp
+.Nm vp
finish.
This is used by functions that need to make sure
that the writes they initiated have completed.
@@ -46,11 +46,11 @@ that the writes they initiated have completed.
The
.Fn vwaitforio
call sleeps at PRIBIO + 1.
-The
+The
.Nm slpflag ,
-.Nm wmesg ,
+.Nm wmesg
and
-.Nm slptimeo
+.Nm slptimeo
flags indicate flags to be passed to
.Xr tsleep 9 .
.Pp
@@ -69,5 +69,5 @@ See
.Xr tsleep 9
for possible error returns.
.Sh SEE ALSO
-.Xr vnode 9 ,
-.Xr tsleep 9
+.Xr tsleep 9 ,
+.Xr vnode 9