2 * scsi_id.h: increase MAX_SERIAL_LEN from 128 to 256, as some
3 devices (maybe broken ones) are giving really long id's.
6 * Makefile: Olaf Hering add spotless target (already in udev).
9 * scsi_serial.c: Include linux/compiler.h so we can build with
10 klibc using kernel headers.
13 * scsi_id.c: Rename major and minor to maj min to avoid compiler
14 warnings when compiled with -D_GNU_SOURCE.
17 * scsi_id.config: Minor wording changes
20 * scsi_id.h: Don't supply a makedev() when built under klibc.
23 * scsi_id.c: Ken Brush <ken@cgi101.com> Have the command line
24 options override generic options.
27 * scsi_serial.c: Log INQUIRY failure, including the
28 failing page code and vpd values. And add a dprintf() to
29 the scsi_inquiry function.
32 * gen_scsi_id_udev_rules.sh: Per bug report from Atul Sabharwal
33 <atul.sabharwal@intel.com> change to not require that sysfs be
34 in the mount tab (and default to "/sys"), and fix so scsi_id
35 results containing spaces work correctly.
38 * scsi_id.8: Escape '-' with '\-'.
41 * scsi_id.8: Add verbage about usage with udev, and running via
45 * scsi_id.c, scsi_id.8: Disable support for -e (all output to
46 stderr) as it cannot be used in any useful way, and the -c
47 (device specific callout) as the code is incomplete and has no
51 * scsi_id.c: Don't print errno for NULL return from
52 sysfs_get_classdev_device.
55 * scsi_id.c: Get rid of dead/leftover code that checked
56 if we are on a scsi bus.
59 * scsi_serial.c, scsi_id.c: Use ":" consistently in output messages.
62 * scsi_serial.c: Add missing new lines for some error messages.
65 * scsi_serial.c: open O_NONBLOCK so we handle tape drives without
69 * scsi_id.h, scsi_id.c: Remove hacks based on KLIBC define to get
70 around problems when building with udev (udev libsysfs files
74 * scsi_id.h, scsi_id.c, scsi_serial.c: As done in udev code, support
75 partitions via looking for a parent of the target path. Uses
76 libsysfs functions to do most of the work, and includes changing
77 a lot of variables to be struct sysfs_device instead of
81 * Makefile: Version 0.4
84 * Makefile: Version 0.3
87 * scsi_id.c, Makefile: Fix prefix usage with scsi_id.config.
90 * scsi_id.config: Clean up some comment entries.
93 * Makefile: Install the sample scsi_id.config file.
96 * Makefile: Use DESTDIR in all install/uninstall rules, per
97 problem reported by Svetoslav Slavtchev.
100 * scsi_id.h, scsi_id.c, scsi_serial.c: Fix to work with current
101 sysfs 0.4, based on patch from Dan Stekloff, but uses
102 sysfs_read_attribute_value instead of
103 sysfs_get_value_from_attributes.
106 * scsi_id.c: SYSFS_BUS_DIR was replaced with SYSFS_BUS_NAME.
109 * scsi_id.c: Must now use sysfs_open_class_device_path instead of the
110 previous sysfs_open_class_device.
113 * Makefile: patch from Olaf Hering <olh@suse.de> remove DEBUG and
117 * Makefile, scsi_id.8: Add a man page.
120 * Makefile: Set and use variables that might be passed down when
121 built under udev (with or without klibc), don't set LDFLAGS or
125 * scsi_id.c, scsi_id.h: Fix a bad bug - when parsing file options,
126 no space was allocated for the creation of the new argv[]
130 * scsi_id.c: Catch too long a line in the config file.
133 * scsi_id.h: Add u8 typedef to avoid ummm scsi.h kernel header
134 problem when built with klibc.
137 * scsi_id.h: Add define of makedev() if built with klibc.
140 * scsi_id.c: reset optind to 1 since klibc does not work if it is
144 * scsi_id.c: remove fflush() as it is not needed, and is not
148 * scsi_serial.c: Make the functions do_scsi_page0_inquiry and
149 do_scsi_page80_inquiry static.
152 * scsi_id.c: Don't use syslog LOG_PID, as it is not supported by
156 * scsi_id.c, scsi_serial.c: Hack - change include path to libsysfs
157 if built under klibc.
160 * Makefile: Use "override" for CFLAGS so we can pass CFLAGS values
161 down when built with udev
164 * scsi_id.c, Makefile: Use SCSI_ID_VERSION instead of VERSION.
167 * scsi_id.c: Remove getopt_long (long option names), as there
168 is no support for that in klibc.
171 * scsi_id.c: Patch from Brian King <brking@us.ibm.com>: check
172 result of setting model, not vendor in per_dev_options.
175 * scsi_id.c, scsi_serial.c: Use new and correct path to libsysfs.h.
178 * scsi_id.h: Fix scsi_id.h so var args in macros works ok with