Re: "block" symlink in sysfs for a multifunction device

From: Greg KH
Date: Wed Dec 14 2005 - 18:42:40 EST


On Wed, Dec 14, 2005 at 03:26:15PM -0800, Pete Zaitcev wrote:
> On Tue, 13 Dec 2005 21:50:19 -0800, Greg KH <greg@xxxxxxxxx> wrote:
>
> > $ ls -l /sys/block/uba/device/
> > -r--r--r-- 1 root root 4096 Dec 13 21:31 bNumEndpoints
> > lrwxrwxrwx 1 root root 0 Dec 13 21:31 block:uba -> ../../../../../../block/uba
> > lrwxrwxrwx 1 root root 0 Dec 13 21:31 block:ubb -> ../../../../../../block/ubb
> > lrwxrwxrwx 1 root root 0 Dec 13 21:31 block:ubc -> ../../../../../../block/ubc
> > lrwxrwxrwx 1 root root 0 Dec 13 21:31 block:ubd -> ../../../../../../block/ubd
>
> Greg, Jeremy is not happy about this.
>
> > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175563
> > ------- Additional Comments From katzj@xxxxxxxxxx 2005-12-14 18:05 EST -------
> > Actually, this is problematic. It makes it so that the single device directory
> > corresponds to more than one device which we can't handle with kudzu :-(

Well, how do you handle it for class devices then?

And if this isn't acceptable, what would be?

Just because kudzu is messed up... :)

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/