summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-08-30 20:18:49 +0000
committerpeter <peter@FreeBSD.org>1997-08-30 20:18:49 +0000
commit699c94cfae8cdb7c2e52e1258fe30ec4449c9d32 (patch)
treea5867b975323e606b0ee8f64dd775a4c03465f75
parent58f19e591bcb8f4e42dab73e67e984f5c5b1d960 (diff)
downloadFreeBSD-src-699c94cfae8cdb7c2e52e1258fe30ec4449c9d32.zip
FreeBSD-src-699c94cfae8cdb7c2e52e1258fe30ec4449c9d32.tar.gz
Update to include some of the newer vnode flags and remove some stale ones.
-rw-r--r--usr.sbin/pstat/pstat.824
-rw-r--r--usr.sbin/pstat/pstat.c10
2 files changed, 25 insertions, 9 deletions
diff --git a/usr.sbin/pstat/pstat.8 b/usr.sbin/pstat/pstat.8
index d5e26ef..41d9645 100644
--- a/usr.sbin/pstat/pstat.8
+++ b/usr.sbin/pstat/pstat.8
@@ -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
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 3c9db3b..576199b 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -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';
OpenPOWER on IntegriCloud