[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: find -lname and -ilname implemented
- To: freebsd-hackers_(_at_)_freebsd_(_dot_)_org
- Subject: Re: find -lname and -ilname implemented
- From: Mike Meyer <mwm-keyword-freebsdhackers2_(_dot_)_e313df_(_at_)_mired_(_dot_)_org>
- Date: Sat, 23 Feb 2008 15:53:55 -0500
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEXguIzRkGnhyaz069mXhW0WHRnbrnR9WCQ6LB0CchNMAAACSUlEQVQ4jV2TQW7jMAxFGaPQOgQEdZaGMsgBrAvUA03dCxj1Uu4U2gfwQD7AGNax51NK07RcxXz6/CSl0Ij450vkPG1jzpIZM1UwDCl/xB14TWnNX8A00Qj5a0mnVFVbVUz4MeErea2HikSRqZzY894zwg9p2+/AtO8LzxFED+tNAUFeU29iFOLRxlZAcdo9A8wi8ZBMV4BKPde82Oxrvs6BTkulQIClte0DLFzzsKk9j1MBex8iUaP00Bd78S/muyFScrTXz6zLkEUxJp+SabQfNOs4f4Jpx5qSZ/304PWwlEWP1cOn/mJQR7EOD+uKhjcBLziuL7xoY5Xm+VFAUSw/LwwwsHEHxihpwV4EJH0xXRkbw1PkRw+X4pEuSJwBggqk+HEYKkiL5/74/nQkogigzQsAFrakxZyfw3wMIEEZPv4AWMfxwqE5GNxGaERjmH+PG8AE0L4/w9g0lsp1raLYAN5azQa+AOoO9NwcpFkTrG2VKNMNEL5UKUUAw34tha0z7onUG0oBoNtczE04GwFE3wCHc0ChezAJ6A1WMV81AtY7wDAJSlXwV+4cwBvsOsrQMRawfQEBz0deEZ7WNpV2szckIKo5VpDHDSDvF1GItwqqAlG01Hh50BGtVhuUkjkasg/14bYFGCgWg1fSWHvmOoJck2xdp9ZvZBHzDVTzX23TkrOn7qe5U2COEw5D4Vx3qEQpFY2Z/3QFnJxzp7YCmSMG19nOUoe869zZfOQb5ywQuWu0yCn5+8gxZz+BE7vG3j4/wbf4D/sXN9Wug1s7AAAAAElFTkSuQmCC
- Organization: Meyer Consulting
On Sat, 23 Feb 2008 12:05:46 -0700 (MST) Warner Losh <imp_(_at_)_bsdimp_(_dot_)_com> wrote:
> From: Mike Meyer <mwm-keyword-freebsdhackers2_(_dot_)_e313df_(_at_)_mired_(_dot_)_org>
> > On Sat, 23 Feb 2008 11:00:47 -0700 (MST) "M. Warner Losh" <imp_(_at_)_bsdimp_(_dot_)_com> wrote:
> > > In message: <20080223123556_(_dot_)_3eee709d_(_at_)_bhuda_(_dot_)_mired_(_dot_)_org>
> > > Mike Meyer <mwm_(_at_)_mired_(_dot_)_org> writes:
> > > : On Sat, 23 Feb 2008 00:03:08 -0700 (MST) "M. Warner Losh" <imp_(_at_)_bsdimp_(_dot_)_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 adds functionality. That doesn't make it gratuitous. One might
> just as well call 'POSIX' compatibility gratuitous. Like it or not,
> the GNU utilities represent a de-facto standard that we must conform
POSIX is a well-defined standard, endorsed by a large number of
companies. GNU's just a bag of programs which only have one
commonality as far as I can tell: the software license. There's
another de-facto standard from a company in Redmond, that's *much*
more popular than GNU, and probably more consistent. If FreeBSD is
going to conform to implementations instead of standards, I'd rather
it conform to that one than GNU.
> > > 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.
> Don't be rediculous. I added 1k of extra space to an existing
> utility. That was part of the calculous in my making the changes I
What's ridiculous? That the only limit is the developers definition of
"trivial"? Care to provide another one? That OS X turned /bin/sh into
bash? I'd agree that that's ridiculous, except it's a fact. That they
did it to make OS X more compatible with Linux? Would you like me to
try and dig up the mail from jkh (I'm pretty sure it was him) that
says that's why they did it?
> Or course, we may need to adopt features from bash into our /bin/sh as
> time marches forward.
> This is no different from what the project has always done. There's
> nothing new that I've done. Reviewing all the utilities one will find
> where people have added features or enhanced compatibility with other
> gnu tools.
I believe you. If you're going to add a feature, accessing it the same
way as GNU does makes some sense (providing GNU's not completely
broken, anyway). And I'm sure there are cases where things were
tweaked just to make them more compatible, because there's constant
pressure to do so, even if the changes in question add nothing but
bloat to the system.
> In short, I'm continuig the long tradition that we've done as FreeBSD
> and that BSD and other Unix vendors did before us: compatibility with
> other implementations.
I suspect your definition of "long tradition" is a lot shorter than
mine. That's they only way I can make that statement make sense - at
least the part about BSD and other Unix vendors.
Mike Meyer <mwm_(_at_)_mired_(_dot_)_org> http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
freebsd-hackers_(_at_)_freebsd_(_dot_)_org mailing list
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org