From nobody Fri Oct 22 04:00:04 2021 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 606401805431; Fri, 22 Oct 2021 04:00:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hb9bm2Hhcz3PZT; Fri, 22 Oct 2021 04:00:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2E6F627B98; Fri, 22 Oct 2021 04:00:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19M4043S049035; Fri, 22 Oct 2021 04:00:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19M404RC049032; Fri, 22 Oct 2021 04:00:04 GMT (envelope-from git) Date: Fri, 22 Oct 2021 04:00:04 GMT Message-Id: <202110220400.19M404RC049032@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Guangyuan Yang Subject: git: d8359af5b642 - stable/13 - devd(8): Note default config file search locations List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ygy X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: d8359af5b642c0d194aedce90ebd1415e0c483d6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by ygy (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=d8359af5b642c0d194aedce90ebd1415e0c483d6 commit d8359af5b642c0d194aedce90ebd1415e0c483d6 Author: Felix Johnson AuthorDate: 2021-10-19 04:37:40 +0000 Commit: Guangyuan Yang CommitDate: 2021-10-22 03:59:17 +0000 devd(8): Note default config file search locations PR: 197003 Reported by: Harald Schmalzbauer (cherry picked from commit bad324ace4f817206baf86ae7379c35c8199048e) --- sbin/devd/devd.8 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sbin/devd/devd.8 b/sbin/devd/devd.8 index fa05db734b88..77c8e4aac2fb 100644 --- a/sbin/devd/devd.8 +++ b/sbin/devd/devd.8 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 5, 2016 +.Dd October 19, 2021 .Dt DEVD 8 .Os .Sh NAME @@ -115,10 +115,16 @@ option and uses that file to drive the rest of the process. While the format of this file is described in .Xr devd.conf 5 , some basics are covered here. +.Pp In the .Ic options section, one can define multiple directories to search for config files. +The default config file specifies +.Pa /etc/devd +and +.Pa /usr/local/etc/devd +as directories to search. All files in these directories whose names match the pattern .Pa *.conf are parsed.