summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-03-17udevadm: trigger - add "--action" to --helpRobby Workman
2009-03-16vol_id: fix language in manpageAdam Buchbinder
The documentation for the --offset option wasn't in complete sentences. Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
2009-03-16create_floppy_devices: expand manpageAdam Buchbinder
Include a table of what the CMOS types are, and note that nothing will be created unless the -t option is specified. Also clean up the formatting and bump the date. Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
2009-03-16cdrom_id: update manpageAdam Buchbinder
Include usage information on the -d/--debug flag. Also bump the date. Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
2009-03-16usb_id: add manpageAdam Buchbinder
Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
2009-03-16rules: md-raid.rules fixMichal Soltys
md/array_state in case of partition doesn't exist, so all uevents for partitions didn't execute any SYMLINK rules Signed-off-by: Michal Soltys <soltys@ziu.info>
2009-03-13release 140Kay Sievers
2009-03-12udevadm: settle - synchronise with the udev daemonScott James Remnant
There's still a slight race condition when using udevadm settle, if the udev daemon has a pending inotify event but hasn't yet generated the "change" uevent for it, the kernel and udev sequence numbers will match and settle will exit. Now udevadm settle will send a control message to udevd, which will respond by sending SIGUSR1 back to the waiting udevadm settle once it has completed the main loop iteration in which it received the control message. If there were no pending inotify events, this will simply wake up the udev daemon and allow settle to continue. If there are pending inotify events, they are handled first in the main loop so when settle is continued they will have been turned into uevents and the kernel sequence number will have been incremented. Since the inotify event is pending for udevd when the close() system call returns (it's queued as part of the kernel handling for that system call), and since the kernel sequence number is incremented by writing to the uevent file (as udevd does), this solves the race. When the settle continues, if there were pending inotify events that udevd had not read, they are now pending uevents which settle can wait for. Signed-off-by: Scott James Remnant <scott@ubuntu.com>
2009-03-11udevadm: settle - use timeout signal, instead of loop counterKay Sievers
2009-03-11libudev: ctrl - return error after sending ctrl messageKay Sievers
2009-03-07update TODOKay Sievers
2009-03-07udevadm: add text for new options to command and man pageKay Sievers
2009-03-06libvolume_id: bump ageHarald Hoyer
Because you added the symbol volume_id_set_uuid_sub() in commit 14e18278, you have to increase the library minor version.
2009-03-05udevd: switch watch symlinks to devpathKay Sievers
Some broken tools get confused following links to /sys, switch to link targets carrying the devpath instead of the syspath, like the queue links.
2009-03-04udevadm: settle - add --seq-start= --seq-end=Kay Sievers
It might be useful in some cases not to wait for "all" events. $ read START < /sys/kernel/uevent_seqnum $ (do something which may create uevents) $ udevadm settle --seq-start=$START
2009-03-04libudev: queue - use lstat() to check existence of symlinkKay Sievers
2009-03-04rules: Fedora updateKay Sievers
2009-03-04update TODOKay Sievers
2009-03-03volume_id: ntfs - fix uuid settingKay Sievers
In my scenario, the ntfs prober did *not* detect the presence of a ntfs filesystem (i.e. vol_id --probe-all returned *only* ext3). However, if you examine the source of the ntfs prober, it overwrites the uuid field of the volume_id object long before it actually decides there's a valid filesystem there - this resulted in vol_id returning the rather bizarre combination of type=ext3, but a uuid populated by the ntfs prober. https://bugs.edge.launchpad.net/ubuntu/+source/udev/+bug/337015
2009-03-03update TODOKay Sievers
2009-03-03fix compile error in debug modeMichael Prokop
When building with './configure --enable-debug && make' it fails with: udev-rules.c: In function ‘dump_token’: udev-rules.c:366: error: ‘struct <anonymous>’ has no member named ‘i’ Signed-off-by: Michael Prokop <mika@grml.org>
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.