[systemd-devel] [PATCH] udev hwdb: Store binary database in libdir, not in /etc
Colin Walters
walters at verbum.org
Mon Jun 17 16:35:41 PDT 2013
On Mon, 2013-06-17 at 19:43 +0200, Michael Biebl wrote:
> b/ let udevadm hwdb --update check, if /var or /var/cache is on a
> separate partition.
If it was just udevadm, that wouldn't be so hard, but replicating
the (what I expect to be fairly fragile) code to detect /var's
paritioning scheme across any other components (e.g. fontconfig)
would be ugly.
Though I do keep coming back to the hwdb being a special case, since
almost none of the other caches need to unify data from /usr and /etc.
That does point out another potential solution - have two caches, one
in /usr and one in /etc, and the /etc one is only created if there's
anything to cache.
More information about the systemd-devel
mailing list