From owner-svn-src-head@freebsd.org Mon Feb 12 06:59:27 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 E25CBF1E4F0 for ; Mon, 12 Feb 2018 06:59:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 710B58353F for ; Mon, 12 Feb 2018 06:59:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x234.google.com with SMTP id b198so16233453iof.6 for ; Sun, 11 Feb 2018 22:59:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Fqzad2wBSZzt4x85xxeOw21AHiao04YA8megSzB/vsU=; b=PNOJE0j1M6Od9ce3/kehopr+ikbruqokuX8kVMBCPJcJdBbt7ptdv/JboxW9IhxzIo gEauL0uprUx10YI0LrKziGOFeLbC7nSZjbRWn79Wi91ey5RHkwer611OLmE4fvXH9WPE P2csJGz0l8+tKQDPQ806QHbcTr4Ngg25mnruE/Gz4B8jQhwrxwUvXeFQ/bw3olCTffiJ 1Hg0vwp96SLyjHXjSG29DS2wrtp3p8eFAj5kiBntLqFGZG48bmUnp3YG1+y9j++s015V w6n/EJUGztTmOOgNCzpN+A/Uu4z7/fY2qmNVQItR0ahml9j5Q54fmKaBAbgmSwvrIK4l pJ5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Fqzad2wBSZzt4x85xxeOw21AHiao04YA8megSzB/vsU=; b=k6/2t9uhpPhWTybPEsSzxkWWWMnQs9fuqFc0f1ra4PCe22BPLnKHThGbchSGKHAd24 4ox1OB2Q+/3zSS8igyUhpc/swiMM6vspcce7YvHnlJdT3k/JplSZvlgUOsBIOC+kaJ5s YhNtYpnoHg/hvgVpIQzPFGE5al3JRu7aoHj+35yxUsh+uKUJUH/gy4NLyk8kCX6vmJ1a 8lT9mON3kK7fndibEWoHfXYARJ5pX+OgWHb/k+SOW6I1PW9BZArwry9WImIZM/IBLgAG tTvBFhJyQOABjUGy/4P9r3V61c0fGqwni6kmweVzaSc8AF3pYTn7yRCbEtyflm+SC6cR tlXg== X-Gm-Message-State: APf1xPDzlDleqDqyByljtloy3jDRaAS/VwuQoJF7MEeqiXFSIGc4O405 Fz0KMwuW3F1jqywvToCq9ujvUTt/W+E0AiTEVT6KlA== X-Google-Smtp-Source: AH8x225dbsqLW+qioV85ohJU6kEaeliHn95HPEkKyshCsDMmef8S5tBqzkI8/aLwFjz5ctZYmUsMyMfWENR392+F3tI= X-Received: by 10.107.172.130 with SMTP id v124mr7791687ioe.301.1518418765786; Sun, 11 Feb 2018 22:59:25 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.201.67 with HTTP; Sun, 11 Feb 2018 22:59:25 -0800 (PST) X-Originating-IP: [2603:300b:6:5100:18a2:a4f7:170:8dd9] In-Reply-To: <201802120655.w1C6tmCO080469@slippy.cwsent.com> References: <201802120651.w1C6pKqF042318@repo.freebsd.org> <201802120655.w1C6tmCO080469@slippy.cwsent.com> From: Warner Losh Date: Sun, 11 Feb 2018 23:59:25 -0700 X-Google-Sender-Auth: w3EZcRm-2g82Bw-37Ib8jUeMEhc Message-ID: Subject: Re: svn commit: r329154 - in head/etc: defaults devd To: Cy Schubert Cc: Warner Losh , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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: Mon, 12 Feb 2018 06:59:27 -0000 On Sun, Feb 11, 2018 at 11:55 PM, Cy Schubert 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