Date: Sun, 11 Feb 2018 23:59:25 -0700 From: Warner Losh <imp@bsdimp.com> To: Cy Schubert <Cy.Schubert@cschubert.com> Cc: Warner Losh <imp@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r329154 - in head/etc: defaults devd Message-ID: <CANCZdfpr7XGfVBvRsHZ382WnoW6TghAdT5Q_gGwJ=r%2B00MOzeg@mail.gmail.com> In-Reply-To: <201802120655.w1C6tmCO080469@slippy.cwsent.com> References: <imp@FreeBSD.org> <201802120651.w1C6pKqF042318@repo.freebsd.org> <201802120655.w1C6tmCO080469@slippy.cwsent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 11, 2018 at 11:55 PM, Cy Schubert <Cy.Schubert@cschubert.com> wrote: > In message <201802120651.w1C6pKqF042318@repo.freebsd.org>, Warner Losh > writes: > > Author: imp > > Date: Mon Feb 12 06:51:20 2018 > > New Revision: 329154 > > URL: https://svnweb.freebsd.org/changeset/base/329154 > > > > Log: > > Turn devmatch on by default. > > > > Turn devmatch on by default. However, use 'start' instead of > > 'onestart' in the devmatch.conf file so the setting of > > 'devmatch_enable' is honored. Give an example of what to put in > > devd.conf if you want to disable just the run-time part of devmatch. > > > > Relnotes: yes > > > > Modified: > > head/etc/defaults/rc.conf > > head/etc/devd/devmatch.conf > > > > Modified: head/etc/defaults/rc.conf > > ============================================================ > ================= > > = > > --- head/etc/defaults/rc.conf Mon Feb 12 06:42:38 2018 (r329153) > > +++ head/etc/defaults/rc.conf Mon Feb 12 06:51:20 2018 (r329154) > > @@ -41,7 +41,7 @@ ddb_enable="NO" # Set to YES to load ddb > script > > s at b > > ddb_config="/etc/ddb.conf" # ddb(8) config file. > > devd_enable="YES" # Run devd, to trigger programs on device tree > changes. > > devd_flags="" # Additional flags for devd(8). > > -devmatch_enable="NO" # Demand load kernel modules based on device ids. > > +devmatch_enable="YES" # Demand load kernel modules based on > device id > > s. > > This assumes that everyone has /usr in /. We might want to consider > moving devmatch to /sbin or document that /usr and / be merged. > That's a good point. I think /etc/rc.d is fine, but devd runs before /usr is mounted, so I think you are right. I'll make the change tomorrow. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpr7XGfVBvRsHZ382WnoW6TghAdT5Q_gGwJ=r%2B00MOzeg>