>>>>> "fm" == Fredrich Maney <fredrichma...@gmail.com> writes:

    fm> Oddly enough, that seems to be the path was taken by
    fm> Sun quite some time ago with /usr/bin. Those tools are the
    fm> standard, default tools on Sun systems for a reason: they are
    fm> the ones that are maintained and updated with new features

nope.  The tools in xpg4 and xpg6 have more features and are more
updated.

For example, ls recently got -% option.  This seems to work for
/usr/bin/ls, /usr/xpg4/bin/ls, and /usr/xpg6/bin/ls.  so, that's good!
albeit a little surprising.

But if /usr/xpg6/bin/ls came first in PATH, it would make sense to
save effort by adding the -% to the newest ls only.  Scripts which
rely on some bug in older ls, will not know about -% all for viewing
ZFS ctime, and not benefit from it.

I imagine some broken scripts hardcoded the full path to /usr/bin/ls
which some from the Solaris tent took to mean that /usr/bin/ls can
never do anything more than what those ancient scripts expect.  This
is bogus!  COMPAT environments belong in a zone.  Alternatively, just
let the script break.

And if the GNU tools are default, they should get -% and any other ZFS
feature, and get it first.  Whatever tools are default should not be
left out of the main thrust of development.  Certainly Linux gets this
right.  Even before adding any GNU stuff Solaris got it wrong.

Attachment: pgp2JSEDBtCug.pgp
Description: PGP signature

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to