Re: regarding major number of block extended devt

From: H. Peter Anvin
Date: Wed Sep 03 2008 - 12:28:24 EST


Tejun Heo wrote:
H. Peter Anvin wrote:
But just allocating a big bucket of device numbers and throw it all into
a pot semirandomly is likely to cause more damage, not less.

To use ext devt, the system has to use udev for device numbers. As long
as udev is used, the major number doesn't matter.

I'm sorry, but that's simply false. There is a *lot* of code out there that assumes you can determine what the device is by correlating the major number with /proc/devices.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/