[systemd-devel] [PATCH] udev hwdb: Support shipping pre-compiled database in system images

Lennart Poettering mzerqung at 0pointer.de
Mon Oct 27 09:47:27 PDT 2014


On Mon, 27.10.14 17:44, Michael Biebl (mbiebl at gmail.com) wrote:

> 2014-10-27 17:31 GMT+01:00 Lennart Poettering <mzerqung at 0pointer.de>:
> >
> > Now, the distinction udevadm is supposed to make here though is very
> > different, it is a distinction between /etc and /usr, i.e. between
> > vendor data and local configuration. Using the word "system" to
> > distuingish this is highly misleading hence.
> > Still, --usr is the most appropriate name, even if on split-usr
> > distros things might appear slightly weird then.
> 
> Quoting the udev man page:
>       <para>The hwdb files are read from the files located in the
>       system hwdb directory <filename>/usr/lib/udev/hwdb.d</filename>,
> 
> So naming that switch --system is only consistent if it acts on the
> system hwdb files only.

Well, we probably should change the udev man page to not use "system"
in this context then, as it is really confusing.

That said, man documentation we can change any time, they are not
API. A new command line switch however is API, and hence needs much
more careful naming, because we cannot rename it later on.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list