2004-02-28 12:00:36 +03:00
Version 0.4 of scsi_id is available at:
2004-01-17 09:03:50 +03:00
2004-02-28 12:00:36 +03:00
http://www-124.ibm.com/storageio/scsi_id/scsi_id-0.4.tar.gz
2004-01-17 09:03:50 +03:00
2004-02-28 12:00:36 +03:00
scsi_id is a program to generate a unique identifier for a given SCSI
2004-01-17 09:03:50 +03:00
device.
2004-02-28 12:00:36 +03:00
It is primarily for use with the udev callout key. It could also be used
for automatic multi-path configuration or device mapper configuration.
2004-01-17 09:03:50 +03:00
2004-02-28 12:00:36 +03:00
Version 0.4 requires:
2004-01-17 09:03:50 +03:00
- Linux kernel 2.6
- libsysfs 0.4.0
Major changes since the last release:
2004-02-28 12:00:36 +03:00
- Support block device partitions
2004-01-17 09:03:50 +03:00
2004-02-28 12:00:36 +03:00
- Added a script to auto-generate udev rules. The script is not
installed but is part of the tarball.
2004-01-17 09:03:50 +03:00
2004-02-28 12:00:36 +03:00
Detailed changes:
2004-01-17 09:03:50 +03:00
2004-02-28 12:00:36 +03:00
- Add man page verbage about usage with udev, and running via
hotplug
2004-01-17 09:03:50 +03:00
2004-02-28 12:00:36 +03:00
- Disable support for -e (all output to stderr) as it cannot be
used in any useful way, and the -c (device specific callout) as
the code is incomplete and has no users.
2004-01-17 09:03:50 +03:00
2004-02-28 12:00:36 +03:00
- Don't print errno for NULL return from sysfs_get_classdev_device.
2004-01-17 09:03:50 +03:00
2004-02-28 12:00:36 +03:00
- Get rid of dead/leftover code that checked if we are on a scsi
bus.
2004-01-17 09:03:50 +03:00
2004-02-28 12:00:36 +03:00
- ":" consistently in output messages.
2004-01-17 09:03:50 +03:00
2004-02-28 12:00:36 +03:00
- Add missing new lines for some error messages.
- open O_NONBLOCK so we handle tape drives without tapes loaded.
- Remove hacks based on KLIBC define to get around problems when
building with udev (udev libsysfs files were rearranged).
- As done in udev code, support partitions via looking for a
parent of the target path. Uses libsysfs functions to do most of
the work, and includes changing a lot of variables to be struct
sysfs_device instead of sysfs_class_device.