On 2018-02-11 18:46, Rodney W. Grimes wrote: > [ Charset ISO-8859-1 unsupported, converting... ] >> On Sun, 2018-02-11 at 10:20 -0800, Conrad Meyer wrote: >>> On Sun, Feb 11, 2018 at 8:35 AM, Ian Lepore <[email protected]> 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. > > Moving this to /usr creates a cyclic issue in that you then need > /usr to be mounted before devd can start and devd's /etc/rc.d file > says: > # PROVIDE: devd > # REQUIRE: NETWORKING > # BEFORE: mountcritremote > # KEYWORD: nojail > > In the diskless and nfs shared /usr worlds devd wants to start > before /usr is mounted. > >> 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/. >
Maybe the correct place is /etc/defaults/devd/ then? -- Allan Jude
signature.asc
Description: OpenPGP digital signature
