From nobody Tue Jun 08 22:11:53 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 6ADB67CE358 for ; Tue, 8 Jun 2021 22:12:03 +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 4G04GV2wkcz4vjt; Tue, 8 Jun 2021 22:12:01 +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 158MBr7g010420; Tue, 8 Jun 2021 15:11:53 -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 158MBrbe010419; Tue, 8 Jun 2021 15:11:53 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202106082211.158MBrbe010419@gndrsh.dnsmgr.net> Subject: Re: Files in /etc containing empty VCSId header In-Reply-To: <20210608114741.3e944e67@ernst.home> To: gljennjohn@gmail.com Date: Tue, 8 Jun 2021 15:11:53 -0700 (PDT) CC: Mark Linimon , Ian Lepore , Warner Losh , John Baldwin , Michael Gmelin , "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: 4G04GV2wkcz4vjt 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 Tue, 8 Jun 2021 09:41:34 +0000 > Mark Linimon wrote: > > > On Mon, Jun 07, 2021 at 01:58:01PM -0600, Ian Lepore wrote: > > > Sometimes it's a real interesting exercise to figure out where a > > > file on your runtime system comes from in the source world. There is a command for that which does or use to do a pretty decent job of it called whereis(1). > > > > A tangential problem I trip over is "what is on this SD card?" > > > > It generally takes me 5-10 minutes to remember: > > > > strings //boot/kernel/kernel | tail > > > > AFIAK it's the only way to be sure; nothing in //* seems > > to have that data. > > > > (Yes, in theory they all live in their own little box each of > > which is labeled but things happen ...) > > > > I use locate for this kind of search, e.g. > > locate netoptions > /etc/rc.d/netoptions > /usr/src/libexec/rc/rc.d/netoptions > > -- > Gary Jennejohn > > -- Rod Grimes rgrimes@freebsd.org