[systemd-devel] device units rely on udev rules?

Koen Kooi koen at dominion.thruhere.net
Tue May 10 03:22:43 PDT 2011


Op 10 mei 2011, om 11:55 heeft Kay Sievers het volgende geschreven:

> On Tue, May 10, 2011 at 11:26, Koen Kooi <koen at dominion.thruhere.net> wrote:
>> 
>> Op 10 mei 2011, om 10:36 heeft Kay Sievers het volgende geschreven:
>> 
>>> On Tue, May 10, 2011 at 10:26, Koen Kooi <koen at dominion.thruhere.net> wrote:
>>>> Op 9 mei 2011, om 22:23 heeft Kay Sievers het volgende geschreven:
>>> 
>>>>> Things like:
>>>>>  time (udevadm trigger; udevadm settle)
>>>> 
>>>> root at beagleboard-systemd:~# time ( udevadm trigger ; udevadm settle)
>>>> 
>>>> real    3m0.475s
>>> 
>>> 3 Minutes?
>> 
>> It's 3 minutes exactly (+trigger and shell overhead) every time, so I guess I'm hitting some kind of timeout
> 
> It's 180 sec, yeah. Doesn't it print what device it waited for?

udevadm doesn't

> If you add: "... settle --timeout=10" does it print something?

root at beagleboard-systemd:~# time ( udevadm trigger ; udevadm settle --timeout=10)                                                                               

real    0m10.427s
user    0m0.023s
sys     0m0.102s

Changing it to '1' doesn't print anything either. Should udev-monitor print the device it's waiting for?

regards,

Koen


More information about the systemd-devel mailing list