> Ah Ha! Please explain more about " large device numbers".

Well. We used to have major 8 for SCSI disk, with minors
0, 16, 32, ... for sda, sdb, sdc, ...
and (sub)minors 1..15 for partitions 1-15 on the disk.
For most purposes this is not a serious restriction,
but in case there is a good reason to use 255 partitions
on a single disk one just grabs a new major, and a tiny
kernel patch will do.

Alan explained that you do not want to use llseek, and
therefore want partitions of size at most 2 GB. With
255 partitions this yields 510 GB, large enough for many
purposes.
It is not very difficult either to go to 65535 partitions
of one disk - a few hours work, I suppose - but since it involves
changing the stat call you'd have to recompile glibc afterwards.

But all this is for the case you want to do certain things
on your private kernel. If it should work on all Linux
systems, then you have 15 partitions on a SCSI disk
(and 63 on an IDE disk).

Andries


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to