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

70 Commits

Author SHA1 Message Date
Kay Sievers
025570aa3e scsi_id: add --sg-version= option 2008-05-14 15:02:17 +02:00
Kay Sievers
2d05764a77 scsi_id: remove bus_id option 2008-05-14 13:59:25 +02:00
Kay Sievers
138cf75e4e scsi_id: update man page 2008-05-14 13:59:11 +02:00
Hannes Reinecke
78d9ecfd4f scsi_id: add SGv4 support
Fall back to SGv3, if SGv3 returns a failure/is not available.
2008-05-14 13:55:49 +02:00
Hannes Reinecke
753417db2b scsi_id: remove all sysfs dependencies 2008-05-14 13:42:41 +02:00
MUNEDA Takahiro
838436fa32 man: scsi_id 2008-05-14 04:47:33 +02:00
Kay Sievers
803ac7a6d8 scsi_id: initialize serial strings 2008-04-20 21:08:45 +02:00
Kay Sievers
c70560feef logging: add trailing newline to all strings 2008-04-20 21:07:06 +02:00
Roy Marples
064360cde8 Makefile: do not require GNU install 2008-03-15 00:02:39 +01:00
Dan Nicholson
c8e826147a extras: ignore built and generated files 2007-11-08 00:13:40 +01:00
Kay Sievers
fd40749e68 scsi_id: fix typo in help text 2007-05-29 21:26:01 +02:00
Kay Sievers
9eaa50d0e7 scsi_id: add long options 2007-05-25 17:37:47 +02:00
Hannes Reinecke
87cf9f5aac cciss device support 2007-05-25 14:48:08 +02:00
Kay Sievers
b8cf73a533 scsi_id: do not install symlink in /sbin 2007-05-21 08:00:45 +02:00
Kay Sievers
58310f6698 scsi_id: accept tabs in /etc/scsi_id.conf 2007-02-25 22:14:14 +01:00
A. Costa
6ff4253618 man: fix typos in scsi_id and udevd 2007-01-28 15:13:36 +01:00
Matthias Schwarzott
bb0f7466a0 correct typo in extras/scsi_id/scsi_id.conf 2007-01-21 15:51:28 +01:00
Peter Breitenlohner
86f4ea067e fix INSTALL_PROGRAM vs. INSTALL_SCRIPT 2007-01-21 15:48:58 +01:00
Marco d'Itri
5284454d5f scsi_id: remove trailing garbage from ID_SERIAL_SHORT 2006-11-27 17:13:19 +01:00
Kay Sievers
11678eff6a scsi_id: export ID_SERIAL_SHORT without vendor/product 2006-10-10 16:56:09 +02:00
Kay Sievers
27b77df44d update source file headers 2006-08-28 00:29:11 +02:00
Kay Sievers
95776dc6ec consistent key naming to match only the event device or include all parent devices
This scheme is more consistent and makes it obvious if a match happens
against the event device only, or the full chain of parent devices.

The old key names are now:
  BUS -> SUBSYSTEMS
  ID -> KERNELS
  SYSFS -> ATTRS
  DRIVER -> DRIVERS

Match keys for the event device:
  KERNEL
  SUBSYSTEM
  ATTR
  DRIVER (in a future release, for now the same as DRIVERS)

Match keys for all devices along the parent device chain:
  KERNELS
  SUBSYSTEMS
  ATTRS
  DRIVERS

ID, BUS, SYSFS are no longer mentioned in the man page but still work.
DRIVER must be converted to DRIVERS to match the new scheme. For now,
an error is logged, if DRIVER is used. In a future release, the DRIVER
key behaviour will change.
2006-08-19 16:06:25 +02:00
Kay Sievers
05ec6e7507 switch ifdef __KLIBC__ to ifndef __GLIBC__ 2006-08-05 00:35:05 +02:00
Kay Sievers
c76b97dc4d Makefiles: fix .PHONY for man page target
Thanks to David Härdeman for pointing it out.
2006-07-04 18:41:07 +02:00
Kay Sievers
66e14ae7de fix symlink targets in Makefiles 2006-04-03 14:40:06 +02:00
Kay Sievers
4809b49e41 move all *_id programs to /lib/udev/ 2006-03-29 14:44:41 +02:00
Kay Sievers
16801abde1 man pages: mention udev(7) not udev(8)
Thanks to:
  Henrique de Moraes Holschuh <hmh@debian.org>
2006-03-28 20:16:34 +02:00
Kay Sievers
15ff0ba36e remove all stripping code 2006-03-28 03:09:18 +02:00
Kay Sievers
3d94fb8742 scsi_id: remove dead files
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-28 16:42:49 +01:00
Kay Sievers
1ef985452b replace fancy silent build program by simple kernel build like logic
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-28 04:44:51 +01:00
Kay Sievers
6ecd4d1e36 scsi_id, usb_id: request device parent by subsystem
Request specific parents identified by subsystem and don't rely on
a predefined sequence.
Also let the devpath be longer than 72 chars, tsss ...

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-18 04:24:48 +01:00
Kay Sievers
1aa1e24848 replace libsysfs
We never used any of the libsysfs convenience features. Here we replace
it completely with 300 lines of code, which are much simpler and a bit
faster cause udev(d) does not open any syfs file for a simple event which
does not need any parent device information.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-09 21:18:00 +01:00
Kay Sievers
892532a939 scsi_id: read page 0x80 with libata drives
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-23 00:06:54 +01:00
Kurt Garloff
cbba4a5446 support pre-SPC3 page 83 format 2005-12-15 13:01:01 +01:00
Hannes Reinecke
d313632b04 fold multiple consecutive whitespace chars into single '_' 2005-12-15 12:22:42 +01:00
Kay Sievers
d7363ee14c Makefile: remove exec_prefix and srcdir
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-16 04:35:37 +01:00
Kay Sievers
c1bf1edeb7 "STRIPCMD=" for the EXTRAS
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-28 01:49:22 +02:00
Kay Sievers
49fb51c615 use DESTDIR on uninstall, no need to pass prefix to submake
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
2005-10-27 18:42:52 +02:00
Kay Sievers
0e5f8a1fcc scsi_id: switch temporary node creation to /dev
/tmp is not writable on most systems, so just use /dev to create a
temporary node. If called from a udev rule, "-d $tempnode" should be
used and udev will create a temporary node and pass the name before
calling scsi_id.
Also remove gen_scsi_id_udev_rules.sh per Patrick's request, as it's
no longer needed with the persistent disk links.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-18 04:49:23 +02:00
Edward Goggin
50be140174 scsi_id: derive a UID for a SCSI-2 not compliant with the page 83
This patch is to enable the use of scsi_id to derive a UID for a SCSI-2
device which is not compliant with the page 83 inquiry reply format for
either SPC-2 or SPC-3.  In this case, the page 83 reply does not
contain a list of  Identification descriptors but a single binary encoded
hexa-decimal Vendor Specified Identifier.

The update is being driven by the need for scsi_id to support older
model EMC Symmetrix hardware, that is, models 4, 5, and 6.
2005-09-14 20:23:48 +02:00
Kay Sievers
85701baede add install test to 'make buildtest'
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14 17:29:27 +02:00
Kay Sievers
db28d2ea4f EXTRAS: cleanup and sync all Makefiles
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14 17:00:02 +02:00
Jürg Billeter
1ac216b198 EXTRAS/Makefile: fix install targets to match main Makefile 2005-09-14 14:27:28 +02:00
Kay Sievers
7596a56298 scsi_id: rename SYSFS to LIBSYSFS
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-31 23:36:25 +02:00
Kay Sievers
c907c823c3 *_id: fix zero length in set_str()
Thanks to Olaf Hering <olh@suse.de>

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-22 11:37:12 +02:00
Kay Sievers
853ccc433c fix more compiler warnings ...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-13 00:18:44 +02:00
Kay Sievers
70721db6d7 fix GGC signed pointer warnings and switch volume_id to stdint
Solaris uses volume_id now and they fiddled around with configure scripts
to map the linux kernel int types. Adding the types locally to volume_id
breaks the klibc build, so just switch to these ugly types and forget it. :)

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-01 01:33:36 +02:00
Hannes Reinecke
33aa91b1be usb_id: fix typo 2005-07-19 14:36:34 -04:00
Hannes Reinecke
46f01c6dc4 add ID_BUS to *_id programs 2005-07-19 11:18:19 -04:00
Hannes Reinecke
b4a2906bf1 fix usb_id and let scsi_id ignore "illegal request" 2005-07-08 03:29:19 +02:00