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 <[email protected]> wrote: > Dag-Erling Smørgrav <[email protected]> writes: > > Maxim Sobolev <[email protected]> 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 - [email protected] > >
