Re: Files in /etc containing empty VCSId header

From: Ian Lepore <ian_at_freebsd.org>
Date: Tue, 08 Jun 2021 09:45:57 -0600
On Tue, 2021-06-08 at 13:47 +0200, Gary Jennejohn wrote:
> On Tue, 8 Jun 2021 09:41:34 +0000
> Mark Linimon <linimon_at_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.  
> > 
> > A tangential problem I trip over is "what is on this SD card?"
> > 
> > It generally takes me 5-10 minutes to remember:
> > 
> >   strings /<mount>/boot/kernel/kernel | tail
> > 
> > AFIAK it's the only way to be sure; nothing in /<mount>/* 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
> 

Not a useful technique on my machine:

revolution > locate netoptions | wc -l
     192

I have dozens of build chroots for various products for $work.

-- Ian
Received on Tue Jun 08 2021 - 15:45:57 UTC

Original text of this message