Subject: CVS commit: src/usr.bin/systat
To: None <source-changes@NetBSD.org>
From: Paul Kranenburg <pk@netbsd.org>
List: source-changes
Date: 12/30/2003 12:52:48
Module Name:	src
Committed By:	pk
Date:		Tue Dec 30 12:52:48 UTC 2003

Modified Files:
	src/usr.bin/systat: bufcache.c

Log Message:
Adapt to kernel buffer cache memort allocation changes.

Since the buffer headers do no longer exist as an array in the kernel anymore,
use the new CTL_KERN.KERN_BUF mib to fetch them from kernel space.

Also look at a vnode's specinfo field to properly associate an opened
block device special file with a mounted filesystem.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/usr.bin/systat/bufcache.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.