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
Kay Sievers
726b21604a
volume_id: fix error handling with failing read()
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14 14:29:59 +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
852cc0f58d
remove chassis_id program
...
Broken and unmaintained!
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-12 14:28:59 +02:00
Duncan Sands
609435bad6
firmware_helper: fix write count
2005-09-09 12:38:58 +02:00
Kay Sievers
aab571f362
fix useless but funny name_cdrom.pl script to work again
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08 12:24:18 +02:00
Kay Sievers
fc04985839
delete cdromsymlinks* - obsoleted by cdrom_id and IMPORT rules
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08 03:34:34 +02:00
Kay Sievers
077ed27c55
add edd_id tool to match BIOS EDD disk information
...
Thanks to:
John Hull <John_Hull@Dell.com>
Matt Domsch <Matt_Domsch@Dell.com>
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-06 12:18:04 +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
0e47c219fc
Makefile: remove all the duplicated rules
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-30 17:03:25 +02:00
Kay Sievers
e79952c598
vol_id: ID_LABEL_SAFE will no longer contain fancy characters
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-28 23:16:56 +02:00
Thierry Vignaud
c4ef16f92c
switch to '==' in raid-devfs.sh
2005-08-26 14:52:57 +02:00
Kay Sievers
cf7cad9dc9
path_id: remove SUSE specific PATH
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-25 00:40:41 +02:00
Amir Shalem
440103fcfc
fix typo in firmware_helper
...
The wrong string is being nullifed.
2005-08-25 00:39:45 +02:00
Kay Sievers
8d77c6a383
volume_id: don't probe for mac_partition_maps
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-25 00:37:46 +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
e331c54dc5
fix typo in cdrom_id syslog
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-18 04:54:59 +02:00
Kay Sievers
5097a6ca42
Merge rsync://rsync.kernel.org/pub/scm/linux/hotplug/udev
2005-08-18 04:48:43 +02:00
Greg Kroah-Hartman
a961dcbf0d
cdrom_id: change err() to info() to help with debugging problems
...
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-17 16:10:32 -07:00
Greg Kroah-Hartman
fc046d4d08
Always open the cdrom drive in non-blocking mode in cdrom_id
...
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-17 16:09:03 -07:00
Kay Sievers
f7a144a5be
vol_id: fix sloppy error handling
...
vol_id segfaults if read() fails on broken devices reporting
the wrong size.
Thanks to Erhard Schultchen for the debugging.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-17 16:58:19 +02:00
Kay Sievers
b5d88a0cfe
Merge rsync://rsync.kernel.org/pub/scm/linux/hotplug/udev
2005-08-13 02:16:54 +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
Greg Kroah-Hartman
903a36495f
added the cdrom.h #defines directly into the cdrom_id.c file
...
This solves the problem with building the file against old kernel header
files.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-12 11:37:56 -07:00
Greg KH
5a64cea1e1
fix klibc build issue in cdrom_id.c
...
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11 14:38:33 -07:00
Greg KH
8ee99e3279
changed cdrom_id exports to be easier to understand and consistant with other _id programs.
...
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11 14:04:24 -07:00
Greg KH
8f6919e639
Created cdrom_id program to make it easier to determine cdrom types
...
Based on the framework from ata_id by Kay.
Now we can drop the cdsymlinks.sh and .c files
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11 13:59:21 -07:00
Kay Sievers
27f877e60f
allow logging of all output from executed tools
...
If USE_DEBUG=true and udev_log="debug", all output of the forked
programs to stdout and stderr is send to syslog.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-11 17:32:59 +02:00
Kay Sievers
d47fd445bd
trivial text cleanups
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-09 22:11:44 +02:00
Kay Sievers
a37610d0f8
remove example rules and put the dev.d stuff into the run_directory folder
...
The distro rules are the best example you can get and the use of
dev.d/ is no longer recommended.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-09 20:11:26 +02:00
Kay Sievers
6214290df5
more distro rules updates
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-09 19:17:25 +02:00
Kay Sievers
bebbc31b90
add firmware_helper to load firmware
...
From: Bill Nottingham <notting@redhat.com>
Changed reading of firmware blob to mmap and let firmware_helper
follow the setting of the log level with UDEV_LOG.
2005-08-09 19:00:37 +02:00
Greg Kroah-Hartman
97b7aa1f78
Added horrible (but fun) path_id script to extras.
...
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-01 16:37:41 -07: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
Kay Sievers
e8d569b414
move code to its own files
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-22 12:35:58 -04: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
bf375e3af6
create_floppy_devices: add tool to create floppy nodes based on sysfs info
2005-07-19 11:14:12 -04:00
Andre Masella
6a5aac78f4
volume_id: add OCFS (Oracle Cluster File System) support
2005-07-17 09:54:40 -04:00
Kay Sievers
422d5becc3
add padding to rules structure
...
Some architectures really want well alingned structures.
Thanks to Jim Gifford <maillist@jg555.com> for help finding it.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-17 09:40:29 -04:00
Greg KH
04b90b7e25
Really commit the udev_run_devd changes...
2005-07-14 15:24:59 -07:00
Greg KH
78e21e3ed4
Fixed udev_run_devd to run the /etc/dev.d/DEVNAME/ files too
...
Note, this assumes that you are putting your device nodes in /dev/, the
better thing to do is use the RUN= rule and not rely on this program at all.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-07-14 15:19:37 -07:00
Kay Sievers
b0f57eb066
volume_id: remove s390 dasd handling, it is dasd_id now
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-13 12:01:53 +02:00
Hannes Reinecke
15e5209b8e
dasd_id: add s390 disk-label prober
...
Signed-off-by: Hannes Reinecke <hare@suse.de>
2005-07-13 11:35:51 +02:00
Kay Sievers
5f84d7264d
trivial fixes for *_id programs
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-13 11:23:21 +02:00
Kay Sievers
e03bce6321
ata_id: check for empty serial number
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-12 11:41:09 +02:00
Kay Sievers
4431072fb8
compile dasd only on s390
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-12 11:39:56 +02:00
Hannes Reinecke
b4a2906bf1
fix usb_id and let scsi_id ignore "illegal request"
2005-07-08 03:29:19 +02:00