summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2008-07-30use autotoolsKay Sievers
2008-07-18move default rules from /etc/udev/rules.d/ to /lib/udev/rules.d/Kay Sievers
None of these rules is supposed to be changed by users, so move them out of /etc. Custom rules, and automatically generated rules stay in /etc. All rules are still processed in lexical order, regardless which directory they live in.
2008-05-19add substitution in MODE= fieldErik van Konijnenburg
Do substitition processing in MODE field, similar to substitution in OWNER, GROUP etc fields. Add test case for normal and overflow behaviour. Document in manpage.
2008-04-21fstab_import: add program to IMPORT matching fstab entryKay Sievers
DEVPATH=/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda6 SUBSYSTEM=block ... ID_FS_USAGE=filesystem ID_FS_TYPE=ext3 ID_FS_VERSION=1.0 ... FSTAB_NAME=/dev/disk/by-id/scsi-SATA_ST910021AS_3MH0Y3KF-part6 FSTAB_DIR=/home/kay/work FSTAB_TYPE=ext3 FSTAB_OPTS=defaults FSTAB_FREQ=1 FSTAB_PASSNO=1
2008-04-18allow setting of MODE="0000"Kay Sievers
2008-03-21test: remove duplicated EXTRA entryKay Sievers
2008-03-14extend hack to allow TEST=="*/start"Kay Sievers
2008-03-14test: add "subsystem" links to all devicesKay Sievers
2007-11-13remove udevstartKay Sievers
2007-08-16accept relative path for TESTKay Sievers
2007-07-25restore behavior of NAME==Kay Sievers
2007-07-24collect: extra to synchronize actions across eventsHannes Reinecke
2007-07-16allow SYMLINK== matchKay Sievers
2007-06-03add "[$SUBSYSTEM/$KERNEL]<attribute>" lookupKay Sievers
2007-05-21replace_chars: replace % characterKay Sievers
2007-03-28finally remove the directory event-multiplexer crapKay Sievers
2007-03-12delete dasd_id, it moved to s390-toolsKay Sievers
These s390-tools-1.6.0 (applicable for the "October 2005 stream") replace s390-tools-1.5.4. New tools: * tape390_crypt: Tool to control and query crypto settings for 3592 zSeries tape devices. * mon_fsstatd: Daemon that writes filesystem utilization data to the z/VM monitor stream. * dumpconf: Allows to configure the dump device used for system dump in case a kernel panic occurs. * dasdinfo: Display unique DASD ID, either uid or volser. * 59-dasd.rules: udev rules for unique DASD device nodes created in /dev/disk/. http://www.ibm.com/developerworks/linux/linux390/s390-tools-1.6.0.html
2007-02-25add test for an attribute which contains an operator charKay Sievers
2006-12-08rename "udev.c" to "test-udev.c" - it is only for testingKay Sievers
2006-09-05add persistent rules generator for net devices and optical drivesMarco d'Itri
2006-09-05let $attr{symlink} return the last element of the pathKay Sievers
Example for /block/sda: SUBSYSTEMS="scsi", ENV{COMMENT}="$attr{driver}" sets COMMENT=sd SUBSYSTEMS="pci", ENV{COMMENT}="$attr{driver}" sets COMMENT=ata_piix
2006-09-05fix ENV{TEST}="Test: $env{TEST}"Kay Sievers
2006-08-20use new key names in test programsKay Sievers
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.