svn commit: r329126 - head/etc/devd

Warner Losh imp at bsdimp.com
Sun Feb 11 19:08:28 UTC 2018


On Sun, Feb 11, 2018 at 11:42 AM, Ian Lepore <ian at freebsd.org> wrote:

> On Sun, 2018-02-11 at 10:20 -0800, Conrad Meyer wrote:
> > On Sun, Feb 11, 2018 at 8:35 AM, Ian Lepore <ian at freebsd.org> wrote:
> > >
> > > Author: ian
> > > Date: Sun Feb 11 16:35:56 2018
> > > New Revision: 329126
> > > URL: https://svnweb.freebsd.org/changeset/base/329126
> > >
> > > Log:
> > >   Regenerate devd/usb.conf after the recent addition of several new
> > > device IDs.
> > >
> > > Modified:
> > >   head/etc/devd/usb.conf
> >
> > If this file is machine generated and not an administrator
> > configuration file, shouldn't it live in /usr/share instead of /etc,
> > per hier(7)?
> >
> > Best,
> > Conrad
> >
>
> I wonder if that question would apply to all five files we put in
> /etc/devd?  It looks like they could be moved to /usr/share with
> minimal fuss by adding that directory to the search list in
> /etc/devd.conf.
>
> I'm agnostic about the value of moving them.  Users can configure local
> rules by modifying the existing devd.conf and files in devd/ and
> dealing with mergemaster on updates, or by adding their own new files
> in devd/.
>

It doesn't matter. We're better off throwing the generated stuff away
entirely and migrating this to devmatch.

Warner


More information about the svn-src-all mailing list