From: "Rainer Mager" <rmager@vgkk.com>
To: <linux-kernel@vger.kernel.org>
Subject: /proc/stat missing disk_io info
Date: Thu, 15 Feb 2001 07:46:56 +0900 [thread overview]
Message-ID: <NEBBJBCAFMMNIHGDLFKGGEBEDBAA.rmager@vgkk.com> (raw)
In-Reply-To: <Pine.LNX.4.30.0101242116520.30884-100000@cola.teststation.com>
Hi all,
I was wondering why some of my disks don't show up in /proc/stat's disk_io
line. Specifically, my line says:
disk_io: (2,0):(144,144,288,0,0) (3,0):(35,35,140,0,0)
This equates to my floppy and first cdrom. I also have a second cdrom (RW)
and 2 hard disks. Looking at the code (kstat_read_proc in
fs/proc/proc_misc.c) it is looping only up to DK_MAX_MAJOR which is defined
as 16 in kernel_stat.h. The problem is that my 2 HDs have a major number of
22.
I don't know enough to produce a patch, that is, what should DK_MAX_MAJOR be
set to, but I believe the above is the problem.
Thanks,
--Rainer
next prev parent reply other threads:[~2001-02-14 22:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-28 16:22 [patch] smbfs cache rewrite - 2nd try Urban Widmark
2001-01-29 1:49 ` Rainer Mager
2001-02-14 22:46 ` Rainer Mager [this message]
2001-02-19 2:40 ` /proc/stat missing disk_io info Rainer Mager
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=NEBBJBCAFMMNIHGDLFKGGEBEDBAA.rmager@vgkk.com \
--to=rmager@vgkk.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®