chiark / gitweb /
[PATCH] update udev to scsi_id 0.7
[elogind.git] / extras / scsi_id / ChangeLog
1 2004-oct-15:
2         * Makefile: Add $(QUIET) to sync with the udev version.
3
4 2004-oct-06:
5         * scsi_id.c: fix alignment for use with 64 bit pointers
6
7 2004-jul-30:
8         * scsi_id.c, scsi_serial.c: Align the buffer passed to scsi_serial,
9           don't bother aligning and memcpy-ing the result in scsi_inquiry.
10           Aligning to 512 probably does not help, since the IO length of
11           254 is not a multiple of 512.
12
13 2004-jul-30:
14         * scsi.h, scsi_serial.c: Use a define for the SCSI INQUIRY buffer
15           length.
16
17 2004-jul-30:
18         * scsi_id.c: Patch from <christophe.varoqui@free.fr> add a -u flag
19          to substitute white space with underscores so it is easier to use
20          the output as a device name.
21
22 2004-jul-30:
23         * scsi_serial.c: Patch from Hannes Reinecke <hare@suse.de> use 254
24           bytes for SCSI INQUIRY commands.
25
26 2004-jul-28:
27         * scsi_id.h, scsi_serial.c: get rid of dumb/dead code, and use a
28           512 byte aligned buffer.
29
30 2004-jun-23:
31         * scsi_id.h: increase MAX_SERIAL_LEN from 128 to 256, as some
32           devices (maybe broken ones) are giving really long id's.
33
34 2004-jun-17:
35         * Makefile: Olaf Hering add spotless target (already in udev).
36
37 2004-jun-17:
38         * scsi_serial.c: Include linux/compiler.h so we can build with
39           klibc using kernel headers.
40
41 2004-may-24:
42         * scsi_id.c: Rename major and minor to maj min to avoid compiler
43           warnings when compiled with -D_GNU_SOURCE.
44
45 2004-mar-30:
46         * scsi_id.config: Minor wording changes
47
48 2004-mar-30:
49         * scsi_id.h: Don't supply a makedev() when built under klibc.
50
51 2004-mar-30:
52         * scsi_id.c: Ken Brush <ken@cgi101.com> Have the command line
53           options override generic options.
54
55 2004-mar-05:
56         * scsi_serial.c: Log INQUIRY failure, including the
57           failing page code and vpd values. And add a dprintf() to
58           the scsi_inquiry function.
59
60 2004-mar-02:
61         * gen_scsi_id_udev_rules.sh: Per bug report from Atul Sabharwal
62           <atul.sabharwal@intel.com> change to not require that sysfs be
63           in the mount tab (and default to "/sys"), and fix so scsi_id
64           results containing spaces work correctly.
65
66 2004-mar-02:
67         * scsi_id.8: Escape '-' with '\-'.
68
69 2004-feb-25:
70         * scsi_id.8: Add verbage about usage with udev, and running via
71           hotplug.
72
73 2004-feb-25:
74         * scsi_id.c, scsi_id.8: Disable support for -e (all output to
75           stderr) as it cannot be used in any useful way, and the -c
76           (device specific callout) as the code is incomplete and has no
77           users.
78
79 2004-feb-25:
80         * scsi_id.c: Don't print errno for NULL return from
81           sysfs_get_classdev_device.
82
83 2004-feb-23:
84         * scsi_id.c: Get rid of dead/leftover code that checked
85           if we are on a scsi bus.
86
87 2004-feb-23:
88         * scsi_serial.c, scsi_id.c: Use ":" consistently in output messages.
89
90 2004-feb-23:
91         * scsi_serial.c: Add missing new lines for some error messages.
92
93 2004-feb-23:
94         * scsi_serial.c: open O_NONBLOCK so we handle tape drives without
95           tapes loaded.
96
97 2004-feb-20:
98         * scsi_id.h, scsi_id.c: Remove hacks based on KLIBC define to get
99           around problems when building with udev (udev libsysfs files
100           were rearranged).
101
102 2004-feb-19:
103         * scsi_id.h, scsi_id.c, scsi_serial.c: As done in udev code, support
104           partitions via looking for a parent of the target path. Uses
105           libsysfs functions to do most of the work, and includes changing
106           a lot of variables to be struct sysfs_device instead of
107           sysfs_class_device.
108
109 2004-feb-19:
110         * Makefile: Version 0.4
111
112 2004-jan-15:
113         * Makefile: Version 0.3
114
115 2004-jan-13:
116         * scsi_id.c, Makefile: Fix prefix usage with scsi_id.config.
117
118 2004-jan-13:
119         * scsi_id.config: Clean up some comment entries.
120
121 2004-jan-13:
122         * Makefile: Install the sample scsi_id.config file.
123
124 2004-jan-13:
125         * Makefile: Use DESTDIR in all install/uninstall rules, per
126           problem reported by Svetoslav Slavtchev.
127
128 2004-jan-12:
129         * scsi_id.h, scsi_id.c, scsi_serial.c: Fix to work with current
130           sysfs 0.4, based on patch from Dan Stekloff, but uses
131           sysfs_read_attribute_value instead of
132           sysfs_get_value_from_attributes.
133
134 2004-jan-08:
135         * scsi_id.c: SYSFS_BUS_DIR was replaced with SYSFS_BUS_NAME.
136
137 2004-jan-08:
138         * scsi_id.c: Must now use sysfs_open_class_device_path instead of the
139           previous sysfs_open_class_device.
140
141 2003-dec-07:
142         * Makefile: patch from Olaf Hering <olh@suse.de> remove DEBUG and
143           add --fno-builtin
144
145 2003-dec-05:
146         * Makefile, scsi_id.8: Add a man page.
147
148 2003-dec-04:
149         * Makefile: Set and use variables that might be passed down when
150           built under udev (with or without klibc), don't set LDFLAGS or
151           STRIP.
152
153 2003-dec-04:
154         * scsi_id.c, scsi_id.h: Fix a bad bug - when parsing file options,
155           no space was allocated for the creation of the new argv[]
156           strings.
157
158 2003-dec-04:
159         * scsi_id.c: Catch too long a line in the config file.
160
161 2003-dec-02:
162         * scsi_id.h: Add u8 typedef to avoid ummm scsi.h kernel header
163           problem when built with klibc.
164
165 2003-dec-02:
166         * scsi_id.h: Add define of makedev() if built with klibc.
167
168 2003-dec-02:
169         * scsi_id.c: reset optind to 1 since klibc does not work if it is
170           reset to zero.
171
172 2003-dec-02:
173         * scsi_id.c: remove fflush() as it is not needed, and is not
174           supported by klibc.
175
176 2003-dec-02:
177         * scsi_serial.c: Make the functions do_scsi_page0_inquiry and
178           do_scsi_page80_inquiry static.
179
180 2003-dec-01:
181         * scsi_id.c: Don't use syslog LOG_PID, as it is not supported by
182           klibc.
183
184 2003-dec-01:
185         * scsi_id.c, scsi_serial.c: Hack - change include path to libsysfs
186           if built under klibc.
187
188 2003-dec-01:
189         * Makefile: Use "override" for CFLAGS so we can pass CFLAGS values
190           down when built with udev
191
192 2003-dec-01:
193         * scsi_id.c, Makefile: Use SCSI_ID_VERSION instead of VERSION.
194
195 2003-nov-25:
196         * scsi_id.c: Remove getopt_long (long option names), as there
197           is no support for that in klibc.
198
199 2003-nov-17:
200         * scsi_id.c: Patch from Brian King <brking@us.ibm.com>: check
201           result of setting model, not vendor in per_dev_options.
202
203 2003-nov-03:
204         * scsi_id.c, scsi_serial.c: Use new and correct path to libsysfs.h.
205
206 2003-nov-03:
207         * scsi_id.h: Fix scsi_id.h so var args in macros works ok with
208           older gcc.