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

Tom Gundersen teg at jklm.no
Fri Jun 14 05:14:43 PDT 2013


On Fri, Jun 14, 2013 at 2:03 PM, Łukasz Stelmach <l.stelmach at samsung.com> wrote:
> It was <2013-06-14 pią 13:30>, when Jan Janssen wrote:
>> On 06/14/2013 01:08 PM, Tom Gundersen wrote:
>>> That said, I don't think libdir is appropriate as this data is not
>>> under the control of the package manager (as it is generated at
>>> install-time rather than at build-time, it would for instance not be
>>> suitable for sharing between hosts). I guess localstatedir would be
>>> another alternative, but the problem there is that it is not
>>> (necessarily) available during early boot when this db is needed.
>> One could introduce a /cache where such files could be stored. Similar
>> to how /run was introduced to fix a similar issue. The folder would
>> be required to be available at boot time.
>
> What's wrong with /var/cache?

/var may not be mounted at the time the caches are needed.

-t


More information about the systemd-devel mailing list