Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Oct 2021 15:51:15 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Future of ident(1)
Message-ID:  <CANCZdfqE7marKYKBqQ63cc30fD-LkCtLkqazcQ94jmRJDOBNDw@mail.gmail.com>
In-Reply-To: <20211022212947.GA59184@troutmask.apl.washington.edu>
References:  <20211022212947.GA59184@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000001b85df05cef8037f
Content-Type: text/plain; charset="UTF-8"

On Fri, Oct 22, 2021 at 3:30 PM Steve Kargl <
sgk@troutmask.apl.washington.edu> wrote:

> All,
>
> With the new world order, what is the future of ident(1)?
> Should it be removed from base?  Given a compiled binary
> in base, how does one find the equivalent git info that
> ident(1) used to perform?
>

It is useful for some rare cases, but in general those cases likely
can likely be handled by readelf / elfdump and adding build info
to the files. I tendto think it's time to retire ident(1), but I'm in no
hurry.

>
> Having a few minutes to dust off old patchs for libm, should
> I remove $FreeBSD$ tags in files I touch?


No. The current rule is that we're not removing $FreeBSD$ as we touch files.
The plan is to remove it wholesale in the future. This gives maximum
flexibility
because stable/12 is still built out of svn and you never know what might
get
MFC'd there.


> For new files, is
> it expected that useless $FreeBSD$ tags should be added?
>

If you plan to or expet to merge the new file to stable/12, then yes.
Otherwise
omit $FreeBSD$. Most new files won't likely be merged to 12 and even
if you make an error in judgement and a new file without $FreeBSD$ is
merged to 12, the impact is going to be minimal.

Warner

--0000000000001b85df05cef8037f--



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