Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2018 15:46:24 -0800 (PST)
From:      "Rodney W. Grimes" <freebsd@pdx.rh.CN85.dnsmgr.net>
To:        Ian Lepore <ian@freebsd.org>
Cc:        cem@freebsd.org, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r329126 - head/etc/devd
Message-ID:  <201802112346.w1BNkPXc041510@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <1518374549.32585.238.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
[ 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 <ian@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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802112346.w1BNkPXc041510>