Skip to contentSkip to conversation

Wrong DK_MAX_MAJOR in include/linux/kernel_stat.h in 2.4.20

DISCUSSION Olaf Frączyk 1 participant 1 message May 21, 2003

lore
Share & tools
lore
#0 lore raw

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