Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-02-24 | remove static local variable | Kay Sievers | |
2009-02-23 | Look at more inotify events in the buffer than just the first. | Scott James Remnant | |
2009-02-23 | lookup the old watch handle; reload only if has a path | Scott James Remnant | |
2009-02-23 | Output watch handle in udevadm info. | Scott James Remnant | |
2009-02-23 | Put a log message in a more sensible place. | Scott James Remnant | |
2009-02-23 | Use the udevdb to speed up watch clearing. | Scott James Remnant | |
Also return a udev_device when looking up by handle as well, so everything works the same way. | |||
2009-02-23 | Store watch handle in db. | Scott James Remnant | |
2009-02-23 | Allow watch handle to be stored in the udevdb. | Scott James Remnant | |
2009-02-23 | Cleanup a little. | Scott James Remnant | |
Move some of the checks into udev_watch_begin() and udev_watch_clear() so we don't have to repeat them all the time. | |||
2009-02-23 | Clear existing inotify watch before processing. | Scott James Remnant | |
Likewise when re-processing an event, we want to drop the existing inotify watch first to avoid side-effects. | |||
2009-02-23 | Don't add inotify watch until RUN rules processed. | Scott James Remnant | |
The programs we RUN can open device nodes, and thus we can end up chasing our own tail. | |||
2009-02-13 | rules: add "watch" option to dm and md rules | Kay Sievers | |
2009-02-11 | use global "reload_config" flag | Kay Sievers | |
2009-02-11 | udevd: optionally watch device nodes with inotify | Scott James Remnant | |
This allows you to re-process the rules if the content of the device has been changed, most useful for block subsystem to cause vol_id to be run again. | |||
2009-02-08 | fix NAME= and OPTION+="string_escape=..." logic | Kay Sievers | |
Scott discovered this silly bug. | |||
2009-02-05 | test: add test for empty and non-existent ATTR | Kay Sievers | |
2009-01-30 | fix NAME="" logic | Kay Sievers | |
Reported-By: Soh Kam Yung <sohkamyung@gmail.com> | |||
2009-01-25 | man: fix grammar | Kay Sievers | |
Reported-by: Robert Peterson <rpeterso@redhat.com> | |||
2009-01-23 | udevadm: settle - fix typo | Kay Sievers | |
2009-01-21 | udevd: add back SA_RESTART | Kay Sievers | |
<Keybuk> poll, select, ppoll, pselect, epoll, etc. are *explicitly* NOT restarted in case of signal <kay> ok | |||
2009-01-21 | split up long line | Kay Sievers | |
2009-01-21 | Merge commit '9032f119f07ad3b5116b3d4858816d851d4127de' | Kay Sievers | |
2009-01-21 | Merge commit '5f03ed8a56d308af72db8a48ab66ed68667af2c6' | Kay Sievers | |
Conflicts: udev/udevd.c | |||
2009-01-21 | increase netif renaming timeout from 30 to 90 seconds | Kay Sievers | |
2009-01-21 | reap children faster | Olaf Kirch | |
udevd's event_queue_manager loop is pretty sensitive to the delays of exiting child processes. I found that it helps boot times if we try to reap children as quickly as possible. This patch changes event_queue_manager to call sigchilds_waiting if it finds a signal has been received. Signed-off-by: Olaf Kirch <okir@suse.de> | |||
2009-01-21 | open-code pollfd setup | Kay Sievers | |
2009-01-20 | Expose delayed name resolution | Scott James Remnant | |
udevd had the ability to delay name resolution until the event, but this was never exposed. Add a --resolve-names=late option to do so. | |||
2009-01-20 | Allow user and group lookup to be disabled. | Scott James Remnant | |
In certain cut-down situations such as an installer or inside the initramfs, we simply don't have any kind of name service. While we could use rules without OWNER or GROUP, it's better to have the same rules as a full system and have udevd ignore those parts of the rules. Adds a --resolve-names=never switch to udevd that has this effect. | |||
2009-01-20 | udevd: use ppoll instead of signal pipes | Olaf Kirch | |
udevd uses a rather old-fashioned way of handling signals while waiting for input through select (ie by using an unnamed pipe, to which the signal handler writes one byte for every signal received). This is rather awkward and may potentially even block if we receive more signals than the kernel's pipe buffer. This patch replaces all of that with ppoll, which was designed for this purpose. It also removes the SA_RESTART flag from all installed signal handlers, because otherwise the ppoll call would just be restarted after handling eg a SIGCHLD. Signed-off-by: Olaf Kirch <okir@suse.de> | |||
2009-01-16 | remove stray initializer | Alan Jenkins | |
Picked up by "gcc -Wextra". udevadm.c:83: warning: initialized field overwritten udevadm.c:83: warning: (near initialization for ‘cmds[2].help’) This is just a cleanup. It doesn't change the code generated by gcc. | |||
2009-01-16 | man: typo fixes | Alan Jenkins | |
2009-01-16 | cleanup old names before creating the new names | Kay Sievers | |
Scott found that the node /dev/pktcdvd can not be replaced by /dev/pktcdvd/control by changing the rules, and re-trigger the event. We used to create the new names before we cleaned up the old ones, which can not work if we need to create subdir with the same name. | |||
2009-01-16 | remove name from index if the node name has changed | Kay Sievers | |
Scott discovered that a changed rule, which renames a device node leaves the old node name around as a symlink. So drop the reference to the old name. | |||
2009-01-15 | udevadm: test - remove --force option | Kay Sievers | |
Since a while we change the database with a "test" run, but do not update the node and symlinks. We need to "force" all the time, to keep things in sync. | |||
2009-01-15 | do not complain about a missing /etc/udev/rules.d/ | Kay Sievers | |
Scott mentioned that initramfs does not neccessarily have that directory, so do not log an error. | |||
2009-01-14 | libudev: use 4096 bytes buffer for attribute reading | Kay Sievers | |
2009-01-06 | libudev: test - add udev_device_get_property_value() | Kay Sievers | |
2009-01-06 | libudev: device - add udev_device_get_property_value() | Kay Sievers | |
2009-01-05 | udevadm: s/udevinfo/udevadm info/ | Kay Sievers | |
2009-01-05 | enable skipping of "naming-only" rules | Kay Sievers | |
2009-01-03 | libudev: subsytem -> subsystem | Kay Sievers | |
2009-01-03 | libudev: device - remove udev_device_get_parent_with_subsystem | Marcel Holtmann | |
2009-01-03 | libudev: device - lookup subsystem and devtype together | Marcel Holtmann | |
2009-01-03 | libudev: device - read "uevent" only if info is not already loaded | Kay Sievers | |
2009-01-02 | man: udev - update NAME assignment | Michal Soltys | |
2009-01-02 | libudev: device - add devtype support | Marcel Holtmann | |
2008-12-29 | libudev: enumerate - add lookup by property | Kay Sievers | |
2008-12-29 | require non-SYSFS_DEPRECATED 2.6.20+ kernel | Kay Sievers | |
2008-12-28 | if needed, store database entries also for devices which do not have a ↵ | Kay Sievers | |
device node | |||
2008-12-20 | "'/sbin/modprobe abnormal' exit" - also print program options | Kay Sievers | |