On Thu, Sep 16, 2004 at 01:09:41PM +0200, Alexander Stohr wrote: > Hello, > > other than that i feel a bit irritated due to the ub device node naming. > Documentation/devices.txt says /dev/ubdX (user-mode block device) > is major=98 and for user mode linux while it never mentions anything > that looks like /dev/uba or something, whatever this "a" means.
"ubd" is quite different from "ub". The "a" is the first disk seen by that driver, the same naming convention of all other block devices. > I really wonder how such a yet unfinished module > ever made it to merge into a stable kernel series. And where would our "development series" kernel be? :) Seriously, you don't have to enable it if you don't want to use it. > At least when i do have the choice between tow modules > then i want to be able to use both alternating. > In other words i am sure you will suggest me a > "mknod /dev/uba b 125 0" or alikes and all should work, > but having such strong side effects like turning off > features of other moules plus adding new device nodes > is really something worth a node in the config. Use udev, it automatically handles stuff like that for you. > CONFIG_BLK_DEV_UB: > x This driver supports certain USB attached storage devices > x such as flash keys. If unsure, say N. > > Lets consider those lack of documentation a bug. Patches always welcome. > I would suggest that the ub driver has to report any > registering and unregistering, and even the failure > for such a device node in the kernel log. Why? > That will trigger anybodys attention that looks for > messages of usb-storage reporting the new scsi deivce. I don't understand the problem here. If you enable ub, then that driver will bind to your devices. If not, it will not. > Of course those ub change will have noticeable influx > on any module autoloader setup thus breaking the > ability to switch between old and new 2.6 kernels > without touching any other files of the machine setup. Again, udev handles stuff like this for you automatically. I suggest you grab a distro that uses it. I'll let Alan Stern determine if your patch is ok or not. thanks, greg k-h ------------------------------------------------------- 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
