1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-11-01 00:51:08 +03:00
systemd-stable/extras/scsi_id/ChangeLog

209 lines
5.8 KiB
Plaintext
Raw Normal View History

2004-oct-15:
* Makefile: Add $(QUIET) to sync with the udev version.
2004-oct-06:
* scsi_id.c: fix alignment for use with 64 bit pointers
2004-jul-30:
* scsi_id.c, scsi_serial.c: Align the buffer passed to scsi_serial,
don't bother aligning and memcpy-ing the result in scsi_inquiry.
Aligning to 512 probably does not help, since the IO length of
254 is not a multiple of 512.
2004-jul-30:
* scsi.h, scsi_serial.c: Use a define for the SCSI INQUIRY buffer
length.
2004-jul-30:
* scsi_id.c: Patch from <christophe.varoqui@free.fr> add a -u flag
to substitute white space with underscores so it is easier to use
the output as a device name.
2004-jul-30:
* scsi_serial.c: Patch from Hannes Reinecke <hare@suse.de> use 254
bytes for SCSI INQUIRY commands.
2004-jul-28:
* scsi_id.h, scsi_serial.c: get rid of dumb/dead code, and use a
512 byte aligned buffer.
2004-jun-23:
* scsi_id.h: increase MAX_SERIAL_LEN from 128 to 256, as some
devices (maybe broken ones) are giving really long id's.
2004-jun-17:
* Makefile: Olaf Hering add spotless target (already in udev).
2004-jun-17:
* scsi_serial.c: Include linux/compiler.h so we can build with
klibc using kernel headers.
2004-may-24:
* scsi_id.c: Rename major and minor to maj min to avoid compiler
warnings when compiled with -D_GNU_SOURCE.
2004-mar-30:
* scsi_id.config: Minor wording changes
2004-mar-30:
* scsi_id.h: Don't supply a makedev() when built under klibc.
2004-mar-30:
* scsi_id.c: Ken Brush <ken@cgi101.com> Have the command line
options override generic options.
2004-mar-05:
* scsi_serial.c: Log INQUIRY failure, including the
failing page code and vpd values. And add a dprintf() to
the scsi_inquiry function.
2004-mar-02:
* gen_scsi_id_udev_rules.sh: Per bug report from Atul Sabharwal
<atul.sabharwal@intel.com> change to not require that sysfs be
in the mount tab (and default to "/sys"), and fix so scsi_id
results containing spaces work correctly.
2004-mar-02:
* scsi_id.8: Escape '-' with '\-'.
2004-feb-25:
* scsi_id.8: Add verbage about usage with udev, and running via
hotplug.
2004-feb-25:
* scsi_id.c, scsi_id.8: Disable support for -e (all output to
stderr) as it cannot be used in any useful way, and the -c
(device specific callout) as the code is incomplete and has no
users.
2004-feb-25:
* scsi_id.c: Don't print errno for NULL return from
sysfs_get_classdev_device.
2004-feb-23:
* scsi_id.c: Get rid of dead/leftover code that checked
if we are on a scsi bus.
2004-feb-23:
* scsi_serial.c, scsi_id.c: Use ":" consistently in output messages.
2004-feb-23:
* scsi_serial.c: Add missing new lines for some error messages.
2004-feb-23:
* scsi_serial.c: open O_NONBLOCK so we handle tape drives without
tapes loaded.
2004-feb-20:
* scsi_id.h, scsi_id.c: Remove hacks based on KLIBC define to get
around problems when building with udev (udev libsysfs files
were rearranged).
2004-feb-19:
* scsi_id.h, scsi_id.c, scsi_serial.c: As done in udev code, support
partitions via looking for a parent of the target path. Uses
libsysfs functions to do most of the work, and includes changing
a lot of variables to be struct sysfs_device instead of
sysfs_class_device.
2004-feb-19:
* Makefile: Version 0.4
2004-jan-15:
* Makefile: Version 0.3
2004-jan-13:
* scsi_id.c, Makefile: Fix prefix usage with scsi_id.config.
2004-jan-13:
* scsi_id.config: Clean up some comment entries.
2004-jan-13:
* Makefile: Install the sample scsi_id.config file.
2004-jan-13:
* Makefile: Use DESTDIR in all install/uninstall rules, per
problem reported by Svetoslav Slavtchev.
2004-jan-12:
* scsi_id.h, scsi_id.c, scsi_serial.c: Fix to work with current
sysfs 0.4, based on patch from Dan Stekloff, but uses
sysfs_read_attribute_value instead of
sysfs_get_value_from_attributes.
2004-jan-08:
* scsi_id.c: SYSFS_BUS_DIR was replaced with SYSFS_BUS_NAME.
2004-jan-08:
* scsi_id.c: Must now use sysfs_open_class_device_path instead of the
previous sysfs_open_class_device.
2003-dec-07:
* Makefile: patch from Olaf Hering <olh@suse.de> remove DEBUG and
add --fno-builtin
2003-dec-05:
* Makefile, scsi_id.8: Add a man page.
2003-dec-04:
* Makefile: Set and use variables that might be passed down when
built under udev (with or without klibc), don't set LDFLAGS or
STRIP.
2003-dec-04:
* scsi_id.c, scsi_id.h: Fix a bad bug - when parsing file options,
no space was allocated for the creation of the new argv[]
strings.
2003-dec-04:
* scsi_id.c: Catch too long a line in the config file.
2003-dec-02:
* scsi_id.h: Add u8 typedef to avoid ummm scsi.h kernel header
problem when built with klibc.
2003-dec-02:
* scsi_id.h: Add define of makedev() if built with klibc.
2003-dec-02:
* scsi_id.c: reset optind to 1 since klibc does not work if it is
reset to zero.
2003-dec-02:
* scsi_id.c: remove fflush() as it is not needed, and is not
supported by klibc.
2003-dec-02:
* scsi_serial.c: Make the functions do_scsi_page0_inquiry and
do_scsi_page80_inquiry static.
2003-dec-01:
* scsi_id.c: Don't use syslog LOG_PID, as it is not supported by
klibc.
2003-dec-01:
* scsi_id.c, scsi_serial.c: Hack - change include path to libsysfs
if built under klibc.
2003-dec-01:
* Makefile: Use "override" for CFLAGS so we can pass CFLAGS values
down when built with udev
2003-dec-01:
* scsi_id.c, Makefile: Use SCSI_ID_VERSION instead of VERSION.
2003-nov-25:
* scsi_id.c: Remove getopt_long (long option names), as there
is no support for that in klibc.
2003-nov-17:
* scsi_id.c: Patch from Brian King <brking@us.ibm.com>: check
result of setting model, not vendor in per_dev_options.
2003-nov-03:
* scsi_id.c, scsi_serial.c: Use new and correct path to libsysfs.h.
2003-nov-03:
* scsi_id.h: Fix scsi_id.h so var args in macros works ok with
older gcc.