[systemd-devel] [PATCH] udev hwdb: Store binary database in libdir, not in /etc

Tom Gundersen teg at jklm.no
Fri Jul 5 14:05:39 PDT 2013

On Fri, Jul 5, 2013 at 10:04 PM, Michael Biebl <mbiebl at gmail.com> wrote:
> My very first idea was [1], to use /lib/udev for the cache file as
> long as /etc/udev/hwdb.d was empty.
> And as soon as files are added to /etc/udev/hwdb.d, the cache file is
> generated in /etc/udev and udev will first try to read the cache file
> from /etc and fall back to /lib
> This would be rather simple to add. The cache file in /lib/udev would
> still be perfectly shareable across hosts.

Notice that the cache file still cannot be generated at build-time
(which is why some object to keeping it in /lib). The reason being
that it is (might be/will be) generated from files shipped with
various other packages, so its contents depends on what other things
you have installed.


More information about the systemd-devel mailing list