handle the VISTTY vnode flag with the same letter ('I') that BSDI used.

Update the documentation of the vnode flags so that it lists only (and all)
of the flags understood by the program.  (The documentation is likely in need
of more cleanup.)
This commit is contained in:
cgd 1996-05-02 00:13:08 +00:00
parent b97609d17d
commit eeee976759
2 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: pstat.8,v 1.8 1996/01/11 06:33:35 thorpej Exp $
.\" $NetBSD: pstat.8,v 1.9 1996/05/02 00:13:08 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@ -218,20 +218,18 @@ A list of letters representing vnode flags:
\- VROOT
.It T
\- VTEXT
.It S
\- VSYSTEM
.It I
\- 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
.El
.Pp
.It USE

View File

@ -1,4 +1,4 @@
/* $NetBSD: pstat.c,v 1.18 1996/04/30 00:41:51 pk Exp $ */
/* $NetBSD: pstat.c,v 1.19 1996/05/02 00:13:19 cgd Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993
@ -43,7 +43,7 @@ static char copyright[] =
#if 0
from: static char sccsid[] = "@(#)pstat.c 8.9 (Berkeley) 2/16/94";
#else
static char *rcsid = "$NetBSD: pstat.c,v 1.18 1996/04/30 00:41:51 pk Exp $";
static char *rcsid = "$NetBSD: pstat.c,v 1.19 1996/05/02 00:13:19 cgd Exp $";
#endif
#endif /* not lint */
@ -406,6 +406,8 @@ vnode_print(avnode, vp)
*fp++ = 'T';
if (flag & VSYSTEM)
*fp++ = 'S';
if (flag & VISTTY)
*fp++ = 'I';
if (flag & VXLOCK)
*fp++ = 'L';
if (flag & VXWANT)