svn commit: r329154 - in head/etc: defaults devd
Warner Losh
imp at bsdimp.com
Mon Feb 12 06:59:27 UTC 2018
On Sun, Feb 11, 2018 at 11:55 PM, Cy Schubert <Cy.Schubert at cschubert.com>
wrote:
> In message <201802120651.w1C6pKqF042318 at 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
More information about the svn-src-all
mailing list