On Sun, Dec 09, 2001 at 04:19:45PM -0000, James Stevenson wrote:
> from /proc/stat i get the following
> disk_io: (3,0):(167751,94458,3917566,73293,2420568)
> except the device 11,0 is a cd-reader
> and there is a device 11,1 which has been used
> is there any reson why the stats dont show up ?
> after all it is another disk.
Both cdroms are accounted, but only into the same slot (11,0). In function
disk_index() at the end of include/linux/genhd.h, you can add a line
above the line containing SCSI_DISK0_MAJOR, and things will work as expected.
Several more complete patches have been floating around for a while.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:15 EST