Re: Hard drive does not appear on OS X

Bill WIlson <[email protected]>
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
On Wed, 26 Apr 2006 23:08:02 -0700
"Mark Duling" <[email protected]> wrote:

> gkrellm 2.2.9 seems to work well except for my hard drive does not show
> up.  My fujitsu CD-ROM drive does.  My HD is /dev/disk0s3.  What can I
> check to see why?  Thank you.

If this is a udev named disk, then it's likely that you have the original
kernel named disk as well as your udev name and the kernel reports
stats only for the original name.

For example, if you have a /dev/hda and there is a udev name /dev/disk0
or whatever for it, the kernel will report stats for hda only and that is
what gkrellm reports.  If you run a 2.6 kernel, look at your /proc/diskstats file
to see what disk stats are being reported.  Stats aren't reported through /dev.

I don't know of a good way to get gkrellm to learn about any udev disk
naming.  An aside here, but note that there is different behavior when you
rename a net interface through udev (net interfaces aren't devices in /dev)
and the kernel does use those renames when reporting net stats.
So if you rename eth0 to say dsl0 with a rule:

KERNEL="eth*", SYSFS{address}="00:40:f4:eb:xx:xx", NAME="dsl%n"

You will get dsl0 showing up as a net interface in gkrellm.

Bill

_______________________________________________
Gkrellm mailing list
[email protected]
http://ninja.linux-phreak.biz/mailman/listinfo/gkrellm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.