summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2006-08-20skip rule, if too may keys of the same type are usedKay Sievers
2006-08-19consistent key naming to match only the event device or include all parent ↵Kay Sievers
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-13don't report an error on overlong comment linesKay Sievers
2006-08-05switch ifdef __KLIBC__ to ifndef __GLIBC__Kay Sievers
2006-07-04remove broken %e enumerationKay Sievers
2006-06-14don't remove symlinks if they are already thereKay Sievers
Consecutive "add" events will not remove and recreate the same symlinks anymore. No longer valid links, like after changing a filesystem label, will still be removed.
2006-04-24allow NAME=="value" to check for already assigned valueKay Sievers
2006-03-29move all *_id programs to /lib/udev/Kay Sievers
2006-01-26don't add $SUBSYSTEM automatically as $1 to programsKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-16fix BUS, ID, $id usageKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-09replace libsysfsKay Sievers
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>
2005-11-16remove "udev_db" option from config fileKay Sievers
All udev state is kept in /$udev_root/.udev/ now. No option to configure that anymore, it will always be there. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-10fix tests and remove no longer useful stuffKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-09remove our own copy of klibcKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-02test: add "driver" and "bus" links to test sysfs treeKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-28remove no longer working udevd-test programKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-27fix the new warnings I asked forKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-27use DESTDIR on uninstall, no need to pass prefix to submakeKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
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-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-30Makefile: remove all the duplicated rulesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-29udev_test.pl: we replace untrusted chars with '_'Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-28start to enforce plain ascii or valid utf8Kay Sievers
No device node or symlink can have other characters as plain readable ascii or valid utf8. The /dev/disk/by-label/* symlinks can no longer contain weird stuff read from untrusted sources. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-16ENV{TEST}=="1" compares and ENV{TEST}="1" sets the environmentKay Sievers
This can be uses to export stuff to the event environment or to carry a state from one rule to another, like enabling/disabling later rules conditionally. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-11added cdrom_id to the build checkGreg KH
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-07-19create_floppy_devices: add tool to create floppy nodes based on sysfs infoHannes Reinecke
2005-07-16allow rules to have labels and skip to next labelKay Sievers
This will allow us to have whole blocks of rules to skip conditionally. The following section creates the node "yes": GOTO="TEST" NAME="no" NAME="no2", LABEL="NO" NAME="yes", LABEL="TEST" NAME="no3"
2005-07-13dasd_id: add s390 disk-label proberHannes Reinecke
Signed-off-by: Hannes Reinecke <hare@suse.de>
2005-07-12IMPORT: add {parent} to import the persistent data of the parent deviceKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-12allow multiple values to be matched with KEY=="value1|value2"Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-07fix symlink values separated by multiple spacesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-07fix typo in group assignmentKay Sievers
Thanks to: Georgi Georgiev
2005-07-04add usb_id program to generate usb-storage device identifiersKay Sievers
Signed-off-by: Hannes Reinecke <hare@suse.de>
2005-06-30prepare RELEASE-NOTESKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-25add ata_id to read serial numbers from ATA drivesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-25IMPORT allow to import program returned keys into the envKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-25IMPORT=<file> allow to import a shell-var style config-fileKay Sievers
This allows to source-in a file into the udev environment to have the defined keys available for later processing by udev itself or the forked helper programs. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-24allow rules to be compiled to one binary fileKay Sievers
All the rule files can be compiled into a single file, which can be mapped into the udev process to avoid parsing the rules with every event. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-20prepare for module loading rules and add MODALIAS keyKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-08udevd: allow starting of udevd with stopped exec-queueKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05udev: clear lists if a new value is assignedKay Sievers
Former values are cleared if SYMLINK=<value> is used. To add a value SYMLINK+=<value> is now needed. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05udev: move dev.d/ handling to external helperKay Sievers
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-05udev: allow final assignments :=Kay Sievers
The use of KEY:=<value> will make the key unchangeable by later rules. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-05-18remove detach_state files from the sysfs test tree.Greg KH
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-10Update permissions on test scripts so they will run properly now.Greg KH
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-10hopefully fix up the symlinks in the test directoryGreg KH
Thanks to Kay for pointing this out. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-09[PATCH] Writing udev rules docs updateDaniel Drake
Here's a long overdue update to the udev rules docs, based on lots of user feedback from the last few months. Mostly updates to keep up with the new udev features, some clarifications and wording improvements. I added a section on rules for palm pilots due to the excessive amount of mail I get about them. I removed the nvidia stuff because it's out of date. Added another section about debugging using logs and udevtest. Removed the thanks list because I haven't been updating it and there are too many people to name now, sorry..!
2005-05-05Added symlinks thanks to Kay's script and git hacking.Greg KH
Now the tests should work again...