summaryrefslogtreecommitdiff
path: root/extras/scsi_id
AgeCommit message (Collapse)Author
2006-01-28scsi_id: remove dead filesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-28replace fancy silent build program by simple kernel build like logicKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-18scsi_id, usb_id: request device parent by subsystemKay Sievers
Request specific parents identified by subsystem and don't rely on a predefined sequence. Also let the devpath be longer than 72 chars, tsss ... Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-09replace libsysfsKay Sievers
We never used any of the libsysfs convenience features. Here we replace it completely with 300 lines of code, which are much simpler and a bit faster cause udev(d) does not open any syfs file for a simple event which does not need any parent device information. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-23scsi_id: read page 0x80 with libata drivesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-15support pre-SPC3 page 83 formatKurt Garloff
2005-12-15fold multiple consecutive whitespace chars into single '_'Hannes Reinecke
2005-11-16Makefile: remove exec_prefix and srcdirKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-28"STRIPCMD=" for the EXTRASKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-27use DESTDIR on uninstall, no need to pass prefix to submakeKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
2005-09-18scsi_id: switch temporary node creation to /devKay Sievers
/tmp is not writable on most systems, so just use /dev to create a temporary node. If called from a udev rule, "-d $tempnode" should be used and udev will create a temporary node and pass the name before calling scsi_id. Also remove gen_scsi_id_udev_rules.sh per Patrick's request, as it's no longer needed with the persistent disk links. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14scsi_id: derive a UID for a SCSI-2 not compliant with the page 83Edward Goggin
This patch is to enable the use of scsi_id to derive a UID for a SCSI-2 device which is not compliant with the page 83 inquiry reply format for either SPC-2 or SPC-3. In this case, the page 83 reply does not contain a list of Identification descriptors but a single binary encoded hexa-decimal Vendor Specified Identifier. The update is being driven by the need for scsi_id to support older model EMC Symmetrix hardware, that is, models 4, 5, and 6.
2005-09-14add install test to 'make buildtest'Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14EXTRAS: cleanup and sync all MakefilesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14EXTRAS/Makefile: fix install targets to match main MakefileJürg Billeter
2005-08-31scsi_id: rename SYSFS to LIBSYSFSKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-22*_id: fix zero length in set_str()Kay Sievers
Thanks to Olaf Hering <olh@suse.de> Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-13fix more compiler warnings ...Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-01fix GGC signed pointer warnings and switch volume_id to stdintKay Sievers
Solaris uses volume_id now and they fiddled around with configure scripts to map the linux kernel int types. Adding the types locally to volume_id breaks the klibc build, so just switch to these ugly types and forget it. :) Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-19usb_id: fix typoHannes Reinecke
2005-07-19add ID_BUS to *_id programsHannes Reinecke
2005-07-08fix usb_id and let scsi_id ignore "illegal request"Hannes Reinecke
2005-06-27add ID_TYPE to the id probersKay Sievers
Export the type of device from ata_id and scsi_id, also strip leading and trailing whitespace and substitute consecutive whitespace with a single underline char. From: Hannes Reinecke <hare@suse.de> Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-27add -x to scsi_id to export the queried values in env formatKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-04-26[PATCH] update scsi_id to work with libsysfs changespatmans@us.ibm.com
Update scsi_id to work with the libsysfs changes in udev: use sysfs_get_classdev_attr and sysfs_get_device_attr in place of sysfs_read_attribute_value.
2005-04-26[PATCH] scsi_id changes for use with udev %N and %ppatmans@us.ibm.com
Changes to scsi_id to support the udev %N and %p substitutions: - Update version from .7 to .8 - change TMP_DIR back to /tmp - if DEVPATH is set assume hotplug_mode (use syslog for logging, and does not output some warnings) - Always output a newline after the id is printed - Allow command line options to override settings when hotplug_mode is set - update man page - update generator script to use the %N and %p substitutions.
2005-04-26[PATCH] scsi_id: when udevstart is started, /tmp is not writeable.md@Linux.IT
2005-04-26[PATCH] fix -Wsign-compare warningskay.sievers@vrfy.org
2005-04-26[PATCH] update udev to scsi_id 0.7patmans@us.ibm.com
Update udev's scsi_id to version 0.7, this fixes a bad bug in scsi_id on 64 bit systems.
2005-04-26[PATCH] let the extras/ programs build "pretty" alsogreg@kroah.com
2005-04-26[PATCH] pass SYSFS setting down for extras buildspatmans@us.ibm.com
Modify SYSFS to specify the full path, and pass it down for the extras builds. Change the scsi_id Makefile so it will work with and without udev.
2005-04-26[PATCH] fix up error in building extras and libsysfsgreg@kroah.com
2005-04-26[PATCH] update udev to include scsi_id 0.6patmans@us.ibm.com
Here's a patch updating udev's copy of scsi_id to version 0.6.
2005-04-26[PATCH] update udev scsi_id to scsi_id 0.5patmans@us.ibm.com
This patch syncs the scsi_id in the udev tree to version 0.5.
2005-04-26[PATCH] make spotlessolh@suse.de
klibc has a target make spotless, this patch makes it possible to clean the whole udev tree and start from scratch.
2005-04-26[PATCH] update udev scsi_id to scsi_id 0.4patmans@us.ibm.com
This patch syncs the scsi_id in the udev tree to version 0.4.
2005-04-26[PATCH] udev use new libsysfs header file locationpatmans@us.ibm.com
Use the new location of libsysfs header files.
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