summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-27rules: Gentoo updateMatthias Schwarzott
2009-01-25version bumpKay Sievers
2009-01-25man: fix grammarKay Sievers
Reported-by: Robert Peterson <rpeterso@redhat.com>
2009-01-24doc: writing udev rules - refer to 'udevadm info' instead of 'udevinfo'Miklos Vajna
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
2009-01-24vol_id: add missing id->type to swap0Karel Zak
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-01-24vol_id: fix ddf version stringKarel Zak
The version string in DDF suberblock does not include the null terminator and the snprintf() function writes at most "size" bytes *including* the null byte. old version: ID_FS_VERSION=02.00.0 new version: ID_FS_VERSION=02.00.00 Signed-off-by: Karel Zak <kzak@redhat.com>
2009-01-23release 137Kay Sievers
2009-01-23udevadm: settle - fix typoKay Sievers
2009-01-22usb_id: handle ATAPI devices like SCSI devicesKay Sievers
Some weird mass storage devices identify the disks as ATAPI/cdrom devices, and all disks in such enclusure get the same ids which overwrite each other, in such cases, get the typ of device from the scsi device, which has more knowledge what kind of device it really is.
2009-01-21udevd: add back SA_RESTARTKay Sievers
<Keybuk> poll, select, ppoll, pselect, epoll, etc. are *explicitly* NOT restarted in case of signal <kay> ok
2009-01-21split up long lineKay Sievers
2009-01-21Merge commit '9032f119f07ad3b5116b3d4858816d851d4127de'Kay Sievers
2009-01-21Merge commit '5f03ed8a56d308af72db8a48ab66ed68667af2c6'Kay Sievers
Conflicts: udev/udevd.c
2009-01-21increase netif renaming timeout from 30 to 90 secondsKay Sievers
2009-01-21reap children fasterOlaf 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-21open-code pollfd setupKay Sievers
2009-01-20Expose delayed name resolutionScott 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-20Allow 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-20udevd: use ppoll instead of signal pipesOlaf 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-16remove stray initializerAlan 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-16man: typo fixesAlan Jenkins
2009-01-16cleanup old names before creating the new namesKay 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-16remove name from index if the node name has changedKay 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-16update NEWSKay Sievers
2009-01-15udevadm: test - remove --force optionKay 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-15volume_id: support via raid version 2Sven Jost
2009-01-15do 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-15rules: add drm devices to group "video"Kay Sievers
https://bugs.launchpad.net/bugs/317430
2009-01-14libudev: use 4096 bytes buffer for attribute readingKay Sievers
2009-01-10rules: fix typo in ide cd ruleKay Sievers
Thanks to Scott, who found that.
2009-01-10fix naming for tape nst devices in /dev/tape/by-path/Lennart Poettering
$env{ID_PATH} includes the "-nst" suffix anyway, so we shouldn't append it a second time as part of the rule creating the device file symlink. Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-10version bumpKay Sievers
2009-01-06release 136Kay Sievers
2009-01-06extras: fix mis-spelling of "environment"Adam Buchbinder
2009-01-06libudev: test - add udev_device_get_property_value()Kay Sievers
2009-01-06libudev: device - add udev_device_get_property_value()Kay Sievers
2009-01-05rules: zaptel - add "dialout" groupKay Sievers
2009-01-05rules: reorder block rulesKay Sievers
2009-01-05udevadm: s/udevinfo/udevadm info/Kay Sievers
2009-01-05usb_id: s/image/media/Kay Sievers
2009-01-05enable skipping of "naming-only" rulesKay Sievers
2009-01-05update NEWSKay Sievers
2009-01-04update NEWSKay Sievers
2009-01-04rules: Ubuntu merge - s/uucp/dialout/Kay Sievers
2009-01-03rules: replace DVB shell script ruleKay Sievers
2009-01-03rules: Ubuntu merge - use group "tape"Kay Sievers
2009-01-03rules: Ubuntu merge - use group "cdrom"Kay Sievers
2009-01-03require 2.6.22+ kernelKay Sievers
2009-01-03usb_id: use devtype lookupKay Sievers
2009-01-03libudev: bump revisionKay Sievers