Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2021 02:13:41 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>
To:        Peter Jeremy <peter@rulingia.com>
Cc:        Ian Lepore <ian@freebsd.org>, "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: Files in /etc containing empty VCSId header
Message-ID:  <202106090913.1599DfcH012413@gndrsh.dnsmgr.net>
In-Reply-To: <YMCBuudj3dn2IvJl@server.rulingia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 2021-Jun-08 17:13:45 -0600, Ian Lepore <ian@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106090913.1599DfcH012413>