Systemd/extras/scsi_id
dsteklof@us.ibm.com bcbe2d8e7d [PATCH] libsysfs 0.4.0 patch
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 21:13:09 -07:00
..
ChangeLog [PATCH] update udev extras/scsi_id to version 0.2 2005-04-26 21:13:06 -07:00
COPYING [PATCH] add scsi_id "extra" program from Patrick Mansfield <patmans@us.ibm.com> 2005-04-26 21:06:24 -07:00
Makefile [PATCH] update udev extras/scsi_id to version 0.2 2005-04-26 21:13:06 -07:00
README [PATCH] update udev extras/scsi_id to version 0.2 2005-04-26 21:13:06 -07:00
scsi.h [PATCH] add scsi_id "extra" program from Patrick Mansfield <patmans@us.ibm.com> 2005-04-26 21:06:24 -07:00
scsi_id.8 [PATCH] update udev extras/scsi_id to version 0.2 2005-04-26 21:13:06 -07:00
scsi_id.c [PATCH] libsysfs 0.4.0 patch 2005-04-26 21:13:09 -07:00
scsi_id.config [PATCH] add scsi_id "extra" program from Patrick Mansfield <patmans@us.ibm.com> 2005-04-26 21:06:24 -07:00
scsi_id.h [PATCH] fix scsi_id segfault with udev-009 2005-04-26 21:13:09 -07:00
scsi_serial.c [PATCH] update udev extras/scsi_id to version 0.2 2005-04-26 21:13:06 -07:00
TODO [PATCH] update udev extras/scsi_id to version 0.2 2005-04-26 21:13:06 -07:00

scsi_id - generate a SCSI unique identifier for a given SCSI device

Primarily for use with udev callout config entries. This could also be
used by a multi-path configuration tool that requires SCSI id's.

Requires:

	- Linux kernel 2.6

	- libsysfs

No man page yet.

libsysfs 0_2_0 was not installing libsysfs.h or dlist.h, manually copy
those files to /usr/include/sys before compiling.

Build via make and make install.

Please send questions, comments or patches to patmans@us.ibm.com.