summaryrefslogtreecommitdiff
path: root/udev_rules.c
AgeCommit message (Collapse)Author
2008-04-02also accept real socket files for RUN+="socket:<path>"Kay Sievers
2008-03-14extend hack to allow TEST=="*/start"Kay Sievers
2008-03-13hack to allow ATTR{block/*/uevent}="change"Kay Sievers
2007-09-21fix wrong variable used in logged stringKay Sievers
2007-09-11check line length after comment check and whitespace stripHarald Hoyer
2007-08-31increase WAIT_FOR_SYSFS timeout to 10 secondsKay Sievers
We see SCSI disks where it takes 6.5 seconds to populate the sysfs attributes.
2007-08-29print warning for invalid TEST operationsKay Sievers
2007-08-29do not delete the device node with ignore_remove, but handle the eventKay Sievers
2007-08-29add $name substitutionKay Sievers
2007-08-24set buffer size if strlcpy/strlcat indicate truncationMichael Morony
2007-08-16accept relative path for TESTKay Sievers
2007-07-25restore behavior of NAME==Kay Sievers
2007-07-25add $driver subtitutionHannes Reinecke
2007-07-16allow SYMLINK== matchKay Sievers
2007-07-14move udev_utils_run.c into udev_rules.cKay Sievers
2007-07-14add udev_rules_run() to handle RUN listKay Sievers
2007-07-14use global udev_log variable instead of parameter in run_programKay Sievers
2007-07-14add option to RUN key to ignore the return value of the programKay Sievers
2007-06-22allow to disable the replacement of unusual charactersKay Sievers
2007-06-10make ATTR{[$SUBSYSTEM/$KERNEL]<attr>}="<value>" workingKay Sievers
2007-06-03add "[$SUBSYSTEM/$KERNEL]<attribute>" lookupKay Sievers
2007-06-03add TEST=="<file>" keyKay Sievers
2007-06-02add $sys substitutionKay Sievers
2007-05-21IMPORT: do not mangle whitespaceKay Sievers
2007-05-17replace_chars: replace spaces in node nameKay Sievers
2007-05-16udev_db: escape path names with \x00 instead of %00Kay Sievers
2007-04-30don't create $tempnode for devices without majorKay Sievers
2007-04-25unset variable with ENV{VAR}=""Kay Sievers
2007-04-06udevinfo: export all information stored in databaseKay Sievers
2007-03-31make ACTION!="add|change" workingKay Sievers
Thanks to Scott for the suggestion.
2007-03-23don't write to sysfs files during test runKay Sievers
2007-03-19update %n on netif name changeKay Sievers
2007-03-17read list of devices from index, make index private to databaseKay Sievers
2007-03-16add link_priority to rule options, and store it in databaseKay Sievers
2007-03-15update internal variables if we see $DEVPATH during IMPORTKay Sievers
2007-02-16apply format chars to ATTR before writing to sysfsKay Sievers
2007-02-01fix %c $string substitutionSergey Vlasov
Fix udev_rules_apply_format() to give error messages for unknown format elements and pass such elements to the output string unmodified. When truncating the substitution string to the length specified in the format string, head[len] = '\0' could write outside the buffer if that length was too large.
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-28update source file headersKay Sievers
2006-08-24use fnmatch() instead of our own pattern match codeKay Sievers
2006-08-20introduce ATTR{file}="value" to set sysfs attributesKay 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-07-04remove broken %e enumerationKay Sievers
2006-06-07remove MODALIAS key and substitutionKay Sievers
2006-04-28vol_id: fix logging from libvolume_id's log functionKay Sievers
2006-04-24allow NAME=="value" to check for already assigned valueKay Sievers
2006-04-15apply format char to variables exported by ENVKay Sievers
2006-04-11fix typo in error messageMatt Kraai
2006-04-05merge device event handling and make database content available on "remove"Kay Sievers