summaryrefslogtreecommitdiffstats
path: root/sbin/mount_ifs/mount.c
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>1999-12-01 02:16:51 +0000
committermckusick <mckusick@FreeBSD.org>1999-12-01 02:16:51 +0000
commite037a1e9e92edac5f41a5c944fabf729989719cd (patch)
tree9d1471a13495dbadf64eec0c94b283deaf920a07 /sbin/mount_ifs/mount.c
parenta7a8ed1423843607656950db4061ebb31fd1e7d0 (diff)
downloadFreeBSD-src-e037a1e9e92edac5f41a5c944fabf729989719cd.zip
FreeBSD-src-e037a1e9e92edac5f41a5c944fabf729989719cd.tar.gz
Print out the filesystem read counts now collected by the kernel.
Submitted by: Craig A Soules <soules+@andrew.cmu.edu> Reviewed by: Kirk McKusick <mckusick@mckusick.com>
Diffstat (limited to 'sbin/mount_ifs/mount.c')
-rw-r--r--sbin/mount_ifs/mount.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/mount_ifs/mount.c b/sbin/mount_ifs/mount.c
index 1ba9e57..8510db5 100644
--- a/sbin/mount_ifs/mount.c
+++ b/sbin/mount_ifs/mount.c
@@ -524,6 +524,9 @@ prmount(sfp)
if (sfp->f_syncwrites != 0 || sfp->f_asyncwrites != 0)
(void)printf(", writes: sync %ld async %ld",
sfp->f_syncwrites, sfp->f_asyncwrites);
+ if (sfp->f_syncreads != 0 || sfp->f_asyncreads != 0)
+ (void)printf(", reads: sync %ld async %ld",
+ sfp->f_syncreads, sfp->f_asyncreads);
(void)printf(")\n");
}
OpenPOWER on IntegriCloud