i've got an usb harddrive with > 7 partitions, but as usb block devices has been allocated minor numbers 0-7 for uba,8-15 for ubb etc, i can't get access to partitions beyond 7. after google'ing a bit, i come across /drivers/block/ub.c and find UB_MINORS_PER_MAJOR set to 8 - i've no experience with kernel hacking, but it looks tempting just to rise that number to, say 16; but hesitating to do so, as i don't know if it's breaking anything in other parts of the kernel. i suspect not, as it seems block major 180 is reserved for usb block devices, but would like some feedback regarding this issue before proceeding.
well, i went ahead and did raise the minor number to 16 : no problems so far & it did the trick for me. perhaps it should be the default setting ( my kernel is 2.6.13, i don't know it has changed in newer kernels )

lars

--
Support bacteria -- it's the only culture some people have!



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to