From owner-svn-src-head@freebsd.org Sun Feb 11 23:46:37 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26AE3F0155C; Sun, 11 Feb 2018 23:46:37 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9CDA57241D; Sun, 11 Feb 2018 23:46:35 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w1BNkQpc041511; Sun, 11 Feb 2018 15:46:26 -0800 (PST) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w1BNkPXc041510; Sun, 11 Feb 2018 15:46:25 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <201802112346.w1BNkPXc041510@pdx.rh.CN85.dnsmgr.net> Subject: Re: svn commit: r329126 - head/etc/devd In-Reply-To: <1518374549.32585.238.camel@freebsd.org> To: Ian Lepore Date: Sun, 11 Feb 2018 15:46:24 -0800 (PST) CC: cem@freebsd.org, src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Reply-To: rgrimes@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2018 23:46:37 -0000 [ 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 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/. -- Rod Grimes rgrimes@freebsd.org