Unless you do tricks with it.
The max major number is 128, and the allocated numbers (as of 2.0.28)
don't go above 61. If you build the new majors
128+0 ! scsi disk
128+32 ! scsi tape
128+64 ! scsi cdrom
128+96 ! scsi generic
that leaves 13 bits for minor devices. Rest assured you will have
to do some jumping through hoops to deal with these properly in the
kernel, but 13 bits gives you 4 bits for ID, 3 bits for LUN, 3 bits
for partition, and 3 bits for controller; I'm sure there are some
systems out there that exceed these limits, but I suspect this won't
describe the vast majority of the Linux machines out there.
____
david parsons \bi/ Not waiting for godot.
\/