summaryrefslogtreecommitdiff
path: root/extras/scsi_id
AgeCommit message (Collapse)Author
2005-04-26[PATCH] update udev scsi_id to scsi_id 0.3patmans@us.ibm.com
2005-04-26[PATCH] libsysfs 0.4.0 patchdsteklof@us.ibm.com
Ananth released sysfsutils 0.4.0 last night, I'm sure you saw the email. Here's a patch with the latest changes from the pre-patch I already gave you. It includes sysfs_get_device_parent(), which you said you needed. I've run your test scripts and I've built scsi_id. Please play around with this and check it out. There are quite a few changes. Please do not access structure pointers, like sysfs_device's parent, directly like dev->parent. Please use the "get" function to retrieve. The functions load things on demand and refresh views under the covers.
2005-04-26[PATCH] fix scsi_id segfault with udev-009dsteklof@us.ibm.com
Scsi_id hasn't been changed to use the latest libsysfs changes. The "directory" in the sysfs_class_device is now considered "private" and only should be accessed using functions. Treating the structures as handles lets us only load information when it's needed, reducing caching or stale information and also helping performance. Here's the problem. static inline char *sysfs_get_attr(struct sysfs_class_device *dev, const char *attr) { return sysfs_get_value_from_attributes(dev->directory->attributes, attr); } Please try this quick fix:
2005-04-26[PATCH] update udev extras/scsi_id to version 0.2patmans@us.ibm.com
This patch updates scsi_id under udev from version 0.1 to version 0.2.
2005-04-26[PATCH] add scsi_id "extra" program from Patrick Mansfield <patmans@us.ibm.com>greg@kroah.com