Hello,
as i had a look into current drivers/block/ub.c (usb block device driver)
there were these lines (not directly consecutive:
#define UB_MAJOR 125 /* Stolen from Experimental range for a week - XXX
*/
#define UB_MINORS_PER_MAJOR 8
a sample 'cat /proc/partitions' with loaded ub module looks like this:
major minor #blocks name
[...]
125 0 25 uba
125 1 60396 uba1
125 8 247040 ubb
125 9 246992 ubb1
this is my proposal for Documentation/devices.txt:
125 block USB block device
0 = /dev/uba First USB block device
8 = /dev/ubb Second USB block device
16 = /dev/ubc Third USB block device
...
Partitions are handled in the same way as for IDE
disks (see block dev with major number 3) except
that the limit on the number of partitions is 7.
The open question for that is the device number.
If you can provice a final device number,
then this proposal should receive a s/125/new-number/
and then it should get applied to the kernel source,
including both mentioned files (ub.c and devices.txt).
-Alex.
PS: i am not subcribed to the usb-devel list.
--
NEU: GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail
+++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel