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
Kay Sievers
7618e112b4
add usb_id program to generate usb-storage device identifiers
...
Signed-off-by: Hannes Reinecke <hare@suse.de>
2005-07-04 17:02:25 +02:00
Kay Sievers
aaff09a30a
add ID_TYPE to the id probers
...
Export the type of device from ata_id and scsi_id, also strip
leading and trailing whitespace and substitute consecutive
whitespace with a single underline char.
From: Hannes Reinecke <hare@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-27 17:04:56 +02:00
Kay Sievers
34129109a1
add -x to scsi_id to export the queried values in env format
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-27 02:51:49 +02:00
Kay Sievers
b8476286d6
store the imported device information in the udevdb
...
Any program can query with udevinfo for persistent device
attributes evaluated on device discovery now.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-26 18:55:24 +02:00
Kay Sievers
208f6aba21
rename udev_volume_id to vol_id and add --export option
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-26 01:54:47 +02:00
Kay Sievers
670e470543
add ata_id to read serial numbers from ATA drives
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-25 23:54:28 +02:00
Kay Sievers
c07669bd66
udev: handle all events - not only class and block devices
...
Handle all events with rules. If udev is expected to handle hotplug.d/
the exernal helper must be called.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 15:55:29 +02:00
Kay Sievers
c2401132bf
volume_id: use udev-provided log-level
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 05:17:21 +02:00
Kay Sievers
6a522681e1
udev: move dev.d/ handling to external helper
...
Modern rules are expected to call notification and postprocessing with
the RUN key. For compatibility the current behavior can be emulated
with an external helper.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 05:11:29 +02:00
Darren Salt
d514329ee2
[PATCH] update cdsymlinks to latest version
...
diff -ur udev-057.orig/extras/cdsymlinks.c udev-057/extras/cdsymlinks.c
2005-05-20 12:59:17 -07:00
kay.sievers@vrfy.org
5160379804
[PATCH] udev_volume_id: fix endianess macros
2005-04-26 23:55:00 -07:00
kay.sievers@vrfy.org
92ebb398ed
[PATCH] klibc: use klcc wrapper instead of our own Makefile
2005-04-26 23:53:53 -07:00