summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-03-03version bumpKay Sievers
2009-02-26release 139Kay Sievers
2009-02-26udevadm: info - export all devices with --export-dbKay Sievers
2009-02-26usb_id: fix commentKay Sievers
2009-02-26usb_id: fix NULL string usageKay Sievers
2009-02-26usb_id: return values if called directly for an usb_deviceKay Sievers
2009-02-26usb_id: add ID_USB_INTERFACES=:0e0100:0e0200:010100:010200:Kay Sievers
2009-02-26use AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCEKay Sievers
2009-02-26add m4/ subdirKay Sievers
2009-02-25add "nowatch" to disable a default installed watch with a later ruleKay Sievers
2009-02-24use the event udev_device to disable the watch on "remove"Kay Sievers
2009-02-24remove static local variableKay Sievers
2009-02-23version bumpKay Sievers
2009-02-23Look at more inotify events in the buffer than just the first.Scott James Remnant
2009-02-23lookup the old watch handle; reload only if has a pathScott James Remnant
2009-02-23Output watch handle in udevadm info.Scott James Remnant
2009-02-23Put a log message in a more sensible place.Scott James Remnant
2009-02-23Use 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-23Store watch handle in db.Scott James Remnant
2009-02-23Allow watch handle to be stored in the udevdb.Scott James Remnant
2009-02-23Cleanup 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-23Clear 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-23Don'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-19release 138Kay Sievers
2009-02-17*_id: add model/vendor enc stringsDavid Zeuthen
So ID_MODEL and ID_VENDOR are pretty useful keys. However since we fix them up (removing leading/trailing whitespace, converts spaces to underscores) for use in device naming etc. we also force these fixups on the desktop shell. And this looks pretty ugly. The attached patch introduces the ID_MODEL_ENC and ID_VENDOR_ENC keys that contains the encoded version of the raw strings obtained. It's pretty similar in spirit to ID_FS_LABEL and its cousin ID_FS_LABEL_ENC. With this patch a desktop shell can fix up these strings as it sees fit. Note that some fixup is still needed though, for example # /lib/udev/ata_id --export /dev/sda |grep ID_MODEL ID_MODEL=INTEL_SSDSA2MH080G1GC ID_MODEL_ENC=INTEL\x20SSDSA2MH080G1GC\x20\x20\x20\x20\x20\x20\x20\x20 \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 Note the trailing and leading whitespace. Anyway with the attached patch the desktop shell should be able to display "INTEL SSDSA2MH080G1GC" rather than "INTEL_SSDSA2MH080G1GC" to the user.
2009-02-16rules: include loop block devices in persistent linksKay Sievers
2009-02-13rules: add "watch" option to dm and md rulesKay Sievers
2009-02-11use global "reload_config" flagKay Sievers
2009-02-11rules: move OPTIONS to separate ruleKay Sievers
A failing IMPORT+ match would prevent the OPTIONS+= action from being applied.
2009-02-11rules: update persistent storage rules to use inotify watchesScott James Remnant
2009-02-11udevd: optionally watch device nodes with inotifyScott 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-08fix NAME= and OPTION+="string_escape=..." logicKay Sievers
Scott discovered this silly bug.
2009-02-05autogen.sh: add more warningsKay Sievers
2009-02-05rules: fix md "change"/"remove" handlingKay Sievers
On Thu, Feb 5, 2009 at 08:43, Harald Hoyer <harald@redhat.com> wrote: > Radek Vykydal <rvykydal@redhat.com> encountered a problem with md devices. > If the raid is about to be removed a "change" and "remove" event is sent.
2009-02-05test: add test for empty and non-existent ATTRKay Sievers
2009-01-30rules: dm - add escape for uuid links with whitespaceKay Sievers
2009-01-30fix NAME="" logicKay Sievers
Reported-By: Soh Kam Yung <sohkamyung@gmail.com>
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