Update to include some of the newer vnode flags and remove some stale ones.

This commit is contained in:
peter 1997-08-30 20:18:49 +00:00
parent 58f19e591b
commit 699c94cfae
2 changed files with 25 additions and 9 deletions

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)pstat.8 8.5 (Berkeley) 5/13/94
.\" $Id: pstat.8,v 1.12 1997/02/22 16:12:15 peter Exp $
.\" $Id: pstat.8,v 1.13 1997/03/11 13:00:38 peter Exp $
.\"
.Dd May 13, 1994
.Dt PSTAT 8
@ -270,20 +270,26 @@ A list of letters representing vnode flags:
\- VROOT
.It T
\- VTEXT
.It S
\- VSYSTEM
.It t
\- VISTTY
.It L
\- VXLOCK
.It W
\- VXWANT
.It E
\- VEXLOCK
.It S
\- VSHLOCK
.It T
\- VLWAIT
.It A
\- VALIASED
.It B
\- VBWAIT
.It A
\- VALIASED
.It V
\- VVMIO
.It a
\- VAGE
.It l
\- VOLOCK
.It w
\- VOWANT
.El
.Pp
.It USE

View File

@ -442,6 +442,8 @@ vnode_print(avnode, vp)
*fp++ = 'T';
if (flag & VSYSTEM)
*fp++ = 'S';
if (flag & VISTTY)
*fp++ = 't';
if (flag & VXLOCK)
*fp++ = 'L';
if (flag & VXWANT)
@ -450,6 +452,14 @@ vnode_print(avnode, vp)
*fp++ = 'B';
if (flag & VALIASED)
*fp++ = 'A';
if (flag & VVMIO)
*fp++ = 'V';
if (flag & VAGE)
*fp++ = 'a';
if (flag & VOLOCK)
*fp++ = 'l';
if (flag & VOWANT)
*fp++ = 'w';
if (flag == 0)
*fp++ = '-';
*fp = '\0';