From nobody Thu Jun 10 22:33:45 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 96AD611C964E for ; Thu, 10 Jun 2021 22:33:53 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G1Jfm5Kvvz4jv6; Thu, 10 Jun 2021 22:33:52 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 473840a9; Thu, 10 Jun 2021 22:33:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; s=20180501; bh=sPxp2MjP5igZaA k4IcWpP2VkGWI=; b=OUcT2yUSAQ66rafYdivCiDEubLnN8QM1/412sOG4K0+/v/ CPgCvl1VgAxz2a01fto5FthUclDpiLFIwwzDQD/2GXuAWacqe1F3AFChJQTAlxt9 0mBYrWMDEajW97zggXGwQA0GaMfF8Sfb+B74x23dq0pAQbpSr7LoQlpruKykZEAO pxBK5VZVXynVFDRofsMXoKyeBEpPcG4FCJ9y15uEZTLgcA+//jfdJ1IulasQVtvL C5oRtjIUJl3NfFLE0SVOJIfmMOog3Hf4ahBKrRTGDIJ7Mvs5mG+eiYM2BFqqChWJ 4HdmA3TRMZC5q3qItyVaLjbUaB4IEhuQzrKDRz7w== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; q=dns; s=20180501; b=gmrstyd4 DqMXXT3/kKEe0l+TSMmp3xZDA4dkOob30B1Kct1Obnk/elYo5Ap2VInEbs+OE5XV TRiX2GiF9C9+TaDsCe9UXkr9lO3mwW/QpcK5FU6XEMKgafo+PJnf0+eMUhF44EfK SwlI4Qac3fSxSNV1O5pNnpWQIU3N5sgT4UdhHMOYgK2GvSsXCJGcNCZh5T0/55tX ITU90n5AZaEKzgb5wOiQYVnqQto3JRvmvJ5jclTPB5nMvbQsUuvwxghpu/C/HgEF 25mCkb3no+wi288n5EvgGAcndLC5nxmeCPhDeuaJUrOHTmgsF/SZI3UELHv6fVGU jp+H29k+9ePXaA== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 67d03c1d (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Thu, 10 Jun 2021 22:33:46 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 (1.0) Subject: Re: Files in /etc containing empty VCSId header From: Michael Gmelin In-Reply-To: Date: Fri, 11 Jun 2021 00:33:45 +0200 Cc: Ian Lepore , "Rodney W. Grimes" , FreeBSD Current Message-Id: <24D0991D-D67D-492A-A9D9-1FCDBB289530@grem.de> References: To: Kevin Oberman X-Mailer: iPhone Mail (18E212) X-Rspamd-Queue-Id: 4G1Jfm5Kvvz4jv6 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N > On 11. Jun 2021, at 00:28, Kevin Oberman wrote: >=20 > =EF=BB=BFOn Wed, Jun 9, 2021 at 2:02 AM Michael Gmelin w= rote: >=20 >>=20 >>=20 >>>> On 9. Jun 2021, at 01:15, Ian Lepore wrote: >>>=20 >>> =EF=BB=BFOn Tue, 2021-06-08 at 15:11 -0700, Rodney W. Grimes wrote: >>>>> On Tue, 8 Jun 2021 09:41:34 +0000 >>>>> Mark Linimon wrote: >>>>>=20 >>>>>> 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. >>>>=20 >>>> There is a command for that which does or use to do a pretty >>>> decent job of it called whereis(1). >>>>=20 >>>=20 >>> revolution > whereis ntp.conf >>> ntp.conf: >>> revolution > whereis netif >>> netif: >>=20 >> That line might make it to a shirt one day: >>=20 >>> revolution > whereis services >>=20 >> ;) >> Michael >>=20 > Just to clarify for those not willing or able to RTFM, it only works for > executables, not conf files or libraries. It reports the location of the > executable, the man page and the port location, if it is a port. For those= > who did RTFM, it is wrong. It claims that it reports on the location of th= e > source, but that is not the case as far as I know. I have never seen it > return anything from /usr/src. I have, just earlier today. Like I wrote somewhere else in this thread, it d= oes so by using locate (it=E2=80=99s debatable how useful this really is tho= ugh). -m >> whereis cc > cc: /usr/bin/cc /usr/share/man/man1/cc.1.gz >> whereis postfix > postfix: /usr/local/sbin/postfix /usr/local/man/man1/postfix.1.gz > /usr/ports/mail/postfix > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683