summaryrefslogtreecommitdiff
path: root/extras
AgeCommit message (Collapse)Author
2005-09-27remove no longer needed includesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-18volume_id: set reiser instead of reiserfs for filesystem typeKay Sievers
Thanks to Theodore Ts'o <tytso@mit.edu> for the hint and a test image. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-18scsi_id: switch temporary node creation to /devKay Sievers
/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-16ata_id: open volume O_NONBLOCKKay Sievers
Opticals like that and should be ok for disks too, as long as we don't read(). Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-16edd_id: check that EDD id is uniqueJohn Hull
The attached patch adds a check to edd_id.c to verify that the MBR signature on the device node passed to the program is unique to only that disk. Signed-off-by: John Hull <john_hull@dell.com>
2005-09-16run_directory: fix typo in "make install"Marco d'Itri
2005-09-14scsi_id: derive a UID for a SCSI-2 not compliant with the page 83Edward Goggin
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-14add install test to 'make buildtest'Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14EXTRAS: cleanup and sync all MakefilesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14volume_id: fix error handling with failing read()Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14EXTRAS/Makefile: fix install targets to match main MakefileJürg Billeter
2005-09-12remove chassis_id programKay Sievers
Broken and unmaintained! Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-09firmware_helper: fix write countDuncan Sands
2005-09-08fix useless but funny name_cdrom.pl script to work againKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08delete cdromsymlinks* - obsoleted by cdrom_id and IMPORT rulesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-06add edd_id tool to match BIOS EDD disk informationKay Sievers
Thanks to: John Hull <John_Hull@Dell.com> Matt Domsch <Matt_Domsch@Dell.com> Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-31scsi_id: rename SYSFS to LIBSYSFSKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-30Makefile: remove all the duplicated rulesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-28vol_id: ID_LABEL_SAFE will no longer contain fancy charactersKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-26switch to '==' in raid-devfs.shThierry Vignaud
2005-08-25path_id: remove SUSE specific PATHKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-25fix typo in firmware_helperAmir Shalem
The wrong string is being nullifed.
2005-08-25volume_id: don't probe for mac_partition_mapsKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-22*_id: fix zero length in set_str()Kay Sievers
Thanks to Olaf Hering <olh@suse.de> Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-18fix typo in cdrom_id syslogKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-18Merge rsync://rsync.kernel.org/pub/scm/linux/hotplug/udevKay Sievers
2005-08-17cdrom_id: change err() to info() to help with debugging problemsGreg Kroah-Hartman
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-17Always open the cdrom drive in non-blocking mode in cdrom_idGreg Kroah-Hartman
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-17vol_id: fix sloppy error handlingKay Sievers
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-13Merge rsync://rsync.kernel.org/pub/scm/linux/hotplug/udevKay Sievers
2005-08-13fix more compiler warnings ...Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-12added the cdrom.h #defines directly into the cdrom_id.c fileGreg Kroah-Hartman
This solves the problem with building the file against old kernel header files. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11fix klibc build issue in cdrom_id.cGreg KH
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11changed cdrom_id exports to be easier to understand and consistant with ↵Greg KH
other _id programs. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11Created cdrom_id program to make it easier to determine cdrom typesGreg KH
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-11allow logging of all output from executed toolsKay Sievers
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-09trivial text cleanupsKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-09remove example rules and put the dev.d stuff into the run_directory folderKay Sievers
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-09more distro rules updatesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-09add firmware_helper to load firmwareKay Sievers
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-01Added horrible (but fun) path_id script to extras.Greg Kroah-Hartman
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-01fix GGC signed pointer warnings and switch volume_id to stdintKay Sievers
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-07-22move code to its own filesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-19usb_id: fix typoHannes Reinecke
2005-07-19add ID_BUS to *_id programsHannes Reinecke
2005-07-19create_floppy_devices: add tool to create floppy nodes based on sysfs infoHannes Reinecke
2005-07-17volume_id: add OCFS (Oracle Cluster File System) supportAndre Masella
2005-07-17add padding to rules structureKay Sievers
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-14Really commit the udev_run_devd changes...Greg KH
2005-07-14Fixed udev_run_devd to run the /etc/dev.d/DEVNAME/ files tooGreg KH
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>