Hello Tom,

Tom Gundersen [2013-06-14 13:08 +0200]:
> 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.

I tought about using /var/cache/ first as well, but /var might be on a
different partition. Hence I was using /lib/udev (i. e. udevlibdir) as
this guaranteed to be on the same partition as all the other udev
helpers.

Why is it a problem if a file in /lib is not under control of the
package manager? There are other files in /lib which are not, e. g.
/lib/modules/<kernel>/modules.dep{,.bin}. Also, if you share
/lib/udev/hwdb.d/, you can also share /lb/udev/hwdb.bin? How would
sharing be any different whether the cache file is in /etc or /lib?

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to