chiark / gitweb /
udev: initialize rules dir timestamps when reading rules
authorKay Sievers <kay@vrfy.org>
Wed, 8 Aug 2012 12:45:16 +0000 (14:45 +0200)
committerKay Sievers <kay@vrfy.org>
Wed, 8 Aug 2012 12:45:16 +0000 (14:45 +0200)
commit3b8c1cb01f1b752543738779668d9841ecbca0d3
treef71664c869bd0ac2726871b42e35e69ac2c95a00
parent5ea373e101fe7153b0038d9cde015de5f6a6d314
udev: initialize rules dir timestamps when reading rules

On Wed, Aug 8, 2012 at 11:48 AM, Michael Schroeder <mls@suse.de> wrote:
> if rules are installed in the first 3 seconds after the udev start,
> the stamps will all be zero, so the [first] call to check_rules_timestamp()
> will just copy the current mtime [and not cause a rules re-load].
src/udev/udev-rules.c