Date: Thu, 10 Jun 2021 15:26:58 -0700 From: Kevin Oberman <rkoberman@gmail.com> To: Michael Gmelin <freebsd@grem.de> Cc: Ian Lepore <ian@freebsd.org>, "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Files in /etc containing empty VCSId header Message-ID: <CAN6yY1uYz75BBTf6mMrW-3M512p3zKC-GpgRJRA1APJNeRN%2Bew@mail.gmail.com> In-Reply-To: <F8A33180-6F1B-4F81-84E6-286DEF78EDE7@grem.de> References: <ac82878fbd635cbdf19707e7daabe15cf753ea0f.camel@freebsd.org> <F8A33180-6F1B-4F81-84E6-286DEF78EDE7@grem.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000a92f1605c470e424 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jun 9, 2021 at 2:02 AM Michael Gmelin <freebsd@grem.de> wrote: > > > > On 9. Jun 2021, at 01:15, Ian Lepore <ian@freebsd.org> wrote: > > > > =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 <linimon@lonesome.com> 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). > >> > > > > revolution > whereis ntp.conf > > ntp.conf: > > revolution > whereis netif > > netif: > > That line might make it to a shirt one day: > > > revolution > whereis services > > ;) > Michael > 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 the source, but that is not the case as far as I know. I have never seen it return anything from /usr/src. > 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 --000000000000a92f1605c470e424--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1uYz75BBTf6mMrW-3M512p3zKC-GpgRJRA1APJNeRN%2Bew>