Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 1996 11:33:12 +0100 (MET)
From:      frank <frank@news.via.nl>
To:        freebsd-current@freebsd.org
Subject:   more drives in iostat?
Message-ID:  <Pine.BSF.3.91.961123103041.5582B-100000@news.via.nl>

next in thread | raw e-mail | index | archive | help

Hi,

I don't know if this is the right place but I've been wondering
why there are only 4 drives showed by iostat.

I've done this patch for the last few months:

news# diff iostat.c iostat.backup
252c252
<       for (i = 0; i < dk_ndrive && ndrives < 8; i++) {
---
>       for (i = 0; i < dk_ndrive && ndrives < 4; i++) {
262c262
<       for (i = 0; i < dk_ndrive && ndrives < 8; i++) {
---
>       for (i = 0; i < dk_ndrive && ndrives < 4; i++) {

I changed the number of drives from 4 to 8. Even though I only have 5 at 
the moment.

Could this maybe be done to the original too? Every time I now update
my source I have to do this again.

Groetjes,

Frank Ederveen





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961123103041.5582B-100000>