Re: git: 43b0384bc7e8 - main - mountpoint(1): new utility, implemented as a stat(1) hardlink

From: Maxim Sobolev <sobomax_at_freebsd.org>
Date: Wed, 07 Oct 2026 03:51:27 UTC
This has been suggested by reviewer @kib citing similarity to readlink.
Original implementation was a standalone. I frankly don't care one way
or the other, but arguably you could have raised this earlier while it's
still at review stage. If that's important to you I suggest you do the
conversion now.

-Max

On Tue, Oct 6, 2026, 9:54 a.m. Dag-Erling Smørgrav <des@freebsd.org> wrote:

> Dag-Erling Smørgrav <des@FreeBSD.org> writes:
> > Maxim Sobolev <sobomax@FreeBSD.org> writes:
> > >     mountpoint(1): new utility, implemented as a stat(1) hardlink
> > Why was this implemented as a stat(1) hardlink?  There is aboslutely no
> > common code between the two.
>
> I'm serious, Maxim.  Implementing mountpoint(1) as an alternate move of
> stat(1) adds more complexity than it saves.  Please revert and re-commit
> as an independent binary.
>
> DES
> --
> Dag-Erling Smørgrav - des@FreeBSD.org
>
>