Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2008 13:19:37 -0500
From:      Mike Meyer <mwm-keyword-freebsdhackers2.e313df@mired.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: find -lname and -ilname implemented
Message-ID:  <20080223131937.182373b2@bhuda.mired.org>
In-Reply-To: <20080223.110047.-397883947.imp@bsdimp.com>
References:  <20080222.225937.-146245356.imp@bsdimp.com> <20080223.000308.686168314.imp@bsdimp.com> <20080223123556.3eee709d@bhuda.mired.org> <20080223.110047.-397883947.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 23 Feb 2008 11:00:47 -0700 (MST) "M. Warner Losh" <imp@bsdimp.com> wrote:

> In message: <20080223123556.3eee709d@bhuda.mired.org>
>             Mike Meyer <mwm@mired.org> writes:
> : On Sat, 23 Feb 2008 00:03:08 -0700 (MST) "M. Warner Losh" <imp@bsdimp.com> wrote:
> : 
> : > Sorry to be lame and follow up to my original email, but Ruslan was
> : > way too quick to give me feedback :-)
> : > 
> : > I also did a few more of the really easy ones, and added a list of
> : > ones that we haven't implemented yet.
> : > 
> : > Comments?
> : 
> : How about a question: why are you turning the FreeBSD find into the
> : GNU find? The changes in the first patch looked like they added real
> : functionality that wasn't available in other tools. These seem to be
> : gratuitous changes to make things compatible with GNU.
> 
> The changes aren't gratuitous.  They are well thought out to ensure
> maximum compatibility.

That they add no new functionality, but only exist to make things
compatible with GNU are what make them gratuitous to me.

> It is yet another barrier to entry for people converting from Linux to
> FreeBSD.  There's lots of useful scripts that have been written for
> the embedded world that, sadly, assume more functionality in our tools
> than are present.  They don't always do nice autoconf things to find
> the right tool to use.  The trivial differences between gnu find and
> our find serve no real purpose.

The problem with this argument is that there are no limits on it,
other than the developers definition of "trivial". OS X has already
carried this argument to the point that they've replaced /bin/sh with
bash.

While I understand that it's easier to fix the BSD find, have you
tried filing bug reports with patches for the tools that assume GNU
find? That would help people outside the BSD community as well.

      Thanks,
      <mike
-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.



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