Print the active vnodes. Each group of vnodes corresponding to a particular filesystem is preceded by a two line header. The first line consists of the following:
*** MOUNT fstype from on on fsflags
where fstype is one of adosfs, afs, cd9660, fdesc, ffs, ext2fs, kernfs, lfs, lofs, mfs, msdos, nfs, null, procfs, umap, union; from is the filesystem mounted from; on is the directory the filesystem is mounted on; and fsflags is a list of optional flags applied to the mount (see mount(8)). The second line is a header for the individual fields, the first part of which are fixed, and the second part are filesystem type specific. The headers common to all vnodes are:
-
ADDR
-
Location of this vnode.
-
TYP
-
File type.
-
VFLAG
-
A list of letters representing vnode flags:
-
R
-
VROOT root of its file system.
-
T
-
VTEXT pure text prototype.
-
S
-
VSYSTEM vnode being used by kernel.
-
I
-
VISTTY vnode is a tty.
-
E
-
VEXECMAP vnode has PROT_EXEC mappings.
-
L
-
VXLOCK locked to change underlying type.
-
W
-
VXWANT process is waiting for vnode.
-
B
-
VBWAIT waiting for output to complete.
-
A
-
VALIASED vnode has an alias.
-
D
-
VDIROP lfs vnode involved in directory op.
-
Y
-
VLAYER vnode is on layer filesystem.
-
O
-
VONWORKLST vnode is on syncer work-list.
-
USE
-
The number of references to this vnode.
-
HOLD
-
The number of I/O buffers held by this vnode.
-
TAG
-
The type of underlying data.
-
NPAGE
-
The number of pages in this vnode.
-
FILEID
-
The vnode fileid. In the case of ffs or ext2fs this is the inode number.
-
IFLAG
-
Miscellaneous filesystem specific state variables encoded thus:
-
For ffs, lfs or ext2fs:
-
-
A
-
access time must be corrected
-
C
-
changed time must be corrected
-
U
-
update time (fs(5)) must be corrected
-
M
-
contains modifications
-
a
-
has been accessed
-
R
-
has a rename in progress
-
S
-
shared lock applied
-
E
-
exclusive lock applied
-
c
-
is being cleaned (LFS)
-
D
-
directory operation in progress (LFS)
-
s
-
blocks to be freed in free count
-
For nfs:
-
-
W
-
waiting for I/O buffer flush to complete
-
P
-
I/O buffers being flushed
-
M
-
locally modified data exists
-
E
-
an earlier write failed
-
A
-
special file accessed
-
U
-
special file updated
-
C
-
special file times changed
-
SIZ/RDEV
-
Number of bytes in an ordinary file, or major and minor device of special file.