From nobody Wed Jun 09 09:13:41 2021 X-Original-To: freebsd-current@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 4CECB11CA67C for ; Wed, 9 Jun 2021 09:13:45 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4G0Ly069HZz3kVV; Wed, 9 Jun 2021 09:13:44 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 1599DgE0012414; Wed, 9 Jun 2021 02:13:42 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 1599DfcH012413; Wed, 9 Jun 2021 02:13:41 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202106090913.1599DfcH012413@gndrsh.dnsmgr.net> Subject: Re: Files in /etc containing empty VCSId header In-Reply-To: To: Peter Jeremy Date: Wed, 9 Jun 2021 02:13:41 -0700 (PDT) CC: Ian Lepore , "Rodney W. Grimes" , "freebsd-current@freebsd.org" X-Mailer: ELM [version 2.4ME+ PL121h (25)] List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4G0Ly069HZz3kVV X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N > On 2021-Jun-08 17:13:45 -0600, Ian Lepore wrote: > >On Tue, 2021-06-08 at 15:11 -0700, Rodney W. Grimes wrote: > >> There is a command for that which does or use to do a pretty > >> decent job of it called whereis(1). > > Thanks. That looks useful. > > >revolution > whereis ntp.conf > >ntp.conf: > >revolution > whereis netif > >netif: > >revolution > whereis services > >services: > > > >So how does that help me locate the origin of these files in the source > >tree? > > It works for me?: > server% whereis ntp.conf > ntp.conf: /usr/src/usr.sbin/ntp/ntpd/ntp.conf > server% whereis netif > netif: /usr/src/libexec/rc/rc.d/netif > server% whereis services > services: /usr/src/contrib/unbound/services > > Is your source tree somewhere other than /usr/src? And if source is not located at /usr/src, /usr/ports there is the -S option. > Peter Jeremy -- Rod Grimes rgrimes@freebsd.org