mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-31 07:51:08 +03:00
bcbe2d8e7d
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. |
||
---|---|---|
.. | ||
ChangeLog | ||
COPYING | ||
Makefile | ||
README | ||
scsi_id.8 | ||
scsi_id.c | ||
scsi_id.config | ||
scsi_id.h | ||
scsi_serial.c | ||
scsi.h | ||
TODO |
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.