minor numbers > 255 not supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Invalid
|
Medium
|
Unassigned |
Bug Description
Synopsis: creating a device node with a minor number
greater than 255 results in an incorrectly-
device node.
Example:
root@
root@
ls -l /tmp/testdev
brw-r--r-- 1 root root 153, 0 2005-08-11 15:55 /tmp/testdev
The 2.6 kernel eliminated the old limit of 256 different
possible values for minor device numbers by adding more
bits for the minor number. With twenty bits for the minor
number, 1048576 different minor numbers are possible per
major number.
This feature is necessary for supporting the large number
of devices that todays systems can use. With network
storage, for example, it is common for one system to use
tens of disks.
Some software hasn't caught up to the new feature. During
this transitional period, Ubuntu users who are using ATA
over Ethernet (AoE) devices will have trouble using anything
but the first fifteen disks.
As stated at #ubuntu-devel, "its policy to create bigger minor numbers only when the 255 are used"