commit 3d8599873a3dcba1ebd83dc984cd490384d40c30 Author: Kay Sievers Date: Fri Mar 13 13:17:31 2009 +0100 release 140 commit bb38678e3ccc02bcd970ccde3d8166a40edf92d3 Author: Scott James Remnant Date: Tue Mar 10 13:00:16 2009 +0000 udevadm: settle - synchronise with the udev daemon 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 commit c2c24d4d3c8f83c5f4507bb13ba6c989f9d6ea45 Author: Kay Sievers Date: Wed Mar 11 15:06:14 2009 +0100 udevadm: settle - use timeout signal, instead of loop counter commit 89d080c3aedacadfb0b1022e101957998d4cdaf1 Author: Kay Sievers Date: Wed Mar 11 13:32:39 2009 +0100 libudev: ctrl - return error after sending ctrl message commit b2fbf53a081539c8ade6759f1df7d8953f76dc8d Author: Kay Sievers Date: Sat Mar 7 02:35:18 2009 +0100 update TODO commit f1e7e360465acc7fb038e941c398216cdb569253 Author: Kay Sievers Date: Sat Mar 7 02:32:40 2009 +0100 udevadm: add text for new options to command and man page commit 18e3d9abc3a0bc57c2f4d45705308e7dc3a60fab Author: Harald Hoyer Date: Fri Mar 6 12:42:00 2009 +0100 libvolume_id: bump age Because you added the symbol volume_id_set_uuid_sub() in commit 14e18278, you have to increase the library minor version. commit 45bcd16ca5e2c7917579c63f701683e47b3a4008 Author: Kay Sievers Date: Thu Mar 5 00:35:58 2009 +0100 udevd: switch watch symlinks to devpath Some broken tools get confused following links to /sys, switch to link targets carrying the devpath instead of the syspath, like the queue links. commit 98d3d51715de205b8231984b57ffbf01af0fb470 Author: Kay Sievers Date: Wed Mar 4 23:48:53 2009 +0100 udevadm: settle - add --seq-start= --seq-end= 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 commit a5d8cffad9020247c9ba81a9e0a9b9cee5c4a4d5 Author: Kay Sievers Date: Wed Mar 4 23:32:16 2009 +0100 libudev: queue - use lstat() to check existence of symlink commit 56a7cb127177f4022e5d2df3e51d7a5d7a297da5 Author: Kay Sievers Date: Wed Mar 4 12:44:08 2009 +0100 rules: Fedora update commit 00440f21af1c847589c35e0ac98d7b9b4db0e0bd Author: Kay Sievers Date: Wed Mar 4 12:39:52 2009 +0100 update TODO commit 1597517c9effc275b8b89c8722c808777c17173f Author: Kay Sievers Date: Tue Mar 3 20:11:09 2009 +0100 volume_id: ntfs - fix uuid setting 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 commit 9270e080822df3be6d320248f98bfc71b3984abf Author: Kay Sievers Date: Tue Mar 3 18:26:11 2009 +0100 update TODO commit 2236ddae2dc1c7d7b380452341b3beefeb471bd9 Author: Michael Prokop Date: Tue Mar 3 16:50:58 2009 +0100 fix compile error in debug mode When building with './configure --enable-debug && make' it fails with: udev-rules.c: In function ‘dump_token’: udev-rules.c:366: error: ‘struct ’ has no member named ‘i’ Signed-off-by: Michael Prokop commit cb81636a01be769c1aa23105e7b711a70d18a4ac Author: Kay Sievers Date: Tue Mar 3 00:55:42 2009 +0100 version bump commit 0ee5a241fcdc68ad5fe12dd59f5c92389774a8ad Author: Kay Sievers Date: Thu Feb 26 23:28:20 2009 +0100 release 139