2 * scsi_id.c, scsi_serial.c: Align the buffer passed to scsi_serial,
3 don't bother aligning and memcpy-ing the result in scsi_inquiry.
4 Aligning to 512 probably does not help, since the IO length of
5 254 is not a multiple of 512.
8 * scsi.h, scsi_serial.c: Use a define for the SCSI INQUIRY buffer
12 * scsi_id.c: Patch from <christophe.varoqui@free.fr> add a -u flag
13 to substitute white space with underscores so it is easier to use
14 the output as a device name.
17 * scsi_serial.c: Patch from Hannes Reinecke <hare@suse.de> use 254
18 bytes for SCSI INQUIRY commands.
21 * scsi_id.h, scsi_serial.c: get rid of dumb/dead code, and use a
22 512 byte aligned buffer.
25 * scsi_id.h: increase MAX_SERIAL_LEN from 128 to 256, as some
26 devices (maybe broken ones) are giving really long id's.
29 * Makefile: Olaf Hering add spotless target (already in udev).
32 * scsi_serial.c: Include linux/compiler.h so we can build with
33 klibc using kernel headers.
36 * scsi_id.c: Rename major and minor to maj min to avoid compiler
37 warnings when compiled with -D_GNU_SOURCE.
40 * scsi_id.config: Minor wording changes
43 * scsi_id.h: Don't supply a makedev() when built under klibc.
46 * scsi_id.c: Ken Brush <ken@cgi101.com> Have the command line
47 options override generic options.
50 * scsi_serial.c: Log INQUIRY failure, including the
51 failing page code and vpd values. And add a dprintf() to
52 the scsi_inquiry function.
55 * gen_scsi_id_udev_rules.sh: Per bug report from Atul Sabharwal
56 <atul.sabharwal@intel.com> change to not require that sysfs be
57 in the mount tab (and default to "/sys"), and fix so scsi_id
58 results containing spaces work correctly.
61 * scsi_id.8: Escape '-' with '\-'.
64 * scsi_id.8: Add verbage about usage with udev, and running via
68 * scsi_id.c, scsi_id.8: Disable support for -e (all output to
69 stderr) as it cannot be used in any useful way, and the -c
70 (device specific callout) as the code is incomplete and has no
74 * scsi_id.c: Don't print errno for NULL return from
75 sysfs_get_classdev_device.
78 * scsi_id.c: Get rid of dead/leftover code that checked
79 if we are on a scsi bus.
82 * scsi_serial.c, scsi_id.c: Use ":" consistently in output messages.
85 * scsi_serial.c: Add missing new lines for some error messages.
88 * scsi_serial.c: open O_NONBLOCK so we handle tape drives without
92 * scsi_id.h, scsi_id.c: Remove hacks based on KLIBC define to get
93 around problems when building with udev (udev libsysfs files
97 * scsi_id.h, scsi_id.c, scsi_serial.c: As done in udev code, support
98 partitions via looking for a parent of the target path. Uses
99 libsysfs functions to do most of the work, and includes changing
100 a lot of variables to be struct sysfs_device instead of
104 * Makefile: Version 0.4
107 * Makefile: Version 0.3
110 * scsi_id.c, Makefile: Fix prefix usage with scsi_id.config.
113 * scsi_id.config: Clean up some comment entries.
116 * Makefile: Install the sample scsi_id.config file.
119 * Makefile: Use DESTDIR in all install/uninstall rules, per
120 problem reported by Svetoslav Slavtchev.
123 * scsi_id.h, scsi_id.c, scsi_serial.c: Fix to work with current
124 sysfs 0.4, based on patch from Dan Stekloff, but uses
125 sysfs_read_attribute_value instead of
126 sysfs_get_value_from_attributes.
129 * scsi_id.c: SYSFS_BUS_DIR was replaced with SYSFS_BUS_NAME.
132 * scsi_id.c: Must now use sysfs_open_class_device_path instead of the
133 previous sysfs_open_class_device.
136 * Makefile: patch from Olaf Hering <olh@suse.de> remove DEBUG and
140 * Makefile, scsi_id.8: Add a man page.
143 * Makefile: Set and use variables that might be passed down when
144 built under udev (with or without klibc), don't set LDFLAGS or
148 * scsi_id.c, scsi_id.h: Fix a bad bug - when parsing file options,
149 no space was allocated for the creation of the new argv[]
153 * scsi_id.c: Catch too long a line in the config file.
156 * scsi_id.h: Add u8 typedef to avoid ummm scsi.h kernel header
157 problem when built with klibc.
160 * scsi_id.h: Add define of makedev() if built with klibc.
163 * scsi_id.c: reset optind to 1 since klibc does not work if it is
167 * scsi_id.c: remove fflush() as it is not needed, and is not
171 * scsi_serial.c: Make the functions do_scsi_page0_inquiry and
172 do_scsi_page80_inquiry static.
175 * scsi_id.c: Don't use syslog LOG_PID, as it is not supported by
179 * scsi_id.c, scsi_serial.c: Hack - change include path to libsysfs
180 if built under klibc.
183 * Makefile: Use "override" for CFLAGS so we can pass CFLAGS values
184 down when built with udev
187 * scsi_id.c, Makefile: Use SCSI_ID_VERSION instead of VERSION.
190 * scsi_id.c: Remove getopt_long (long option names), as there
191 is no support for that in klibc.
194 * scsi_id.c: Patch from Brian King <brking@us.ibm.com>: check
195 result of setting model, not vendor in per_dev_options.
198 * scsi_id.c, scsi_serial.c: Use new and correct path to libsysfs.h.
201 * scsi_id.h: Fix scsi_id.h so var args in macros works ok with