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

Harald Hoyer harald.hoyer at gmail.com
Tue Jun 18 00:15:55 PDT 2013


On 06/14/2013 02:14 PM, Tom Gundersen wrote:
> 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.


So, why not mount "/var" also from the initramfs as we do with "/usr" already.

Wouldn't that solve all the problems, and we can use /var/cache?

:-)



More information about the systemd-devel mailing list