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

From: Greg KH
Date: Wed Dec 14 2005 - 19:44:24 EST


On Wed, Dec 14, 2005 at 04:10:18PM -0800, Pete Zaitcev wrote:
> On Wed, 14 Dec 2005 15:42:55 -0800, Greg KH <greg@xxxxxxxxx> wrote:
>
> > And if this isn't acceptable, what would be?
> >
> > Just because kudzu is messed up... :)
>
> I thought maybe creating some struct kobject by hand for every LUN.
> This is undesirable mainly because I do not trust myself with handling
> struct kobject at all (currently I only use block device API and so I
> blame Jens every time there's a problem :-)). But if Jeremy cannot
> work around it, I would have to think about it - maybe as a Fedora-specific
> patch.

I don't understand, what exactly would you like to see in the block
device's device directory? With this patch, we correctly point back to
all of the different block devices controlled by this device.

I'm curious as to why kudzu even cares about this?

And, how does it handle things like mult-port serial devices, which have
all of the multiple class device symlinks in one single device
directory, just like this.

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/