2003-05-21 13:13:55

by Olaf Frączyk

[permalink] [raw]
Subject: Wrong DK_MAX_MAJOR in include/linux/kernel_stat.h in 2.4.20

Hi,

This is set to 16. Why?
All IDE disks above hdb have major bigger than 16.
For SCSI it is not such pain as it is ok up to sdp.

So I get no stats for disks hdc and up in /proc/stat

Is it safe to just set DK_MAX_MAJOR 0xFF?

Please CC me.

Regards,

Olaf Frączyk