On Sat, Aug 13, 2005 at 11:34:17AM -0400, [EMAIL PROTECTED] wrote:
> In prior conversations with folks doing utilities such as lsscsi, it became
> rather apparent that it is difficult to establish the relationships between
> the class device and its base device. The class->device symlink is good for
> one direction, but the reverse direction didn't exist. In order to go from
> the device to its class device, you needed to either search all class
> devices to search for a device backlink that pointed to you, or had to build
> in name relationships what the subset class devices that you need to look at.
>
> This patch adds a symlink from the base device to the class device. The name
> of the symlink is "class:<classname>". I had originally considered just
> <classname> for the symlink name, but it seemed to get lost in the attributes.
Heh, I already have a patch like this pending for 2.6.14 at:
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-01-driver/driver-link-device-and-class.patch
Andrew keeps disabling it in the -mm releases due to it misbehaiving on
some of his scsi devices. Perhaps he can post that oops message again
so that someone here can fix it up before I add it to the main tree?
thanks,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html