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

Kay Sievers kay at vrfy.org
Tue Jun 18 02:51:05 PDT 2013


On Tue, Jun 18, 2013 at 9:15 AM, Harald Hoyer <harald.hoyer at gmail.com> wrote:
> On 06/14/2013 02:14 PM, Tom Gundersen wrote:

>>> 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.

Because, so far we did not want to mandate an initramfs for a separate
/var, which is unlike a separate /usr, a very common setup.

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

It would be /var/lib, as it is not a cache; but sure, it would solve
the problems. It would maybe significanlty complicate a few initramfs
setups to reach /var, but sure, it would work.

It would solve quite a few problems, but I'm not sure if that will be
a generally accepted solution ...

Kay


More information about the systemd-devel mailing list