>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.

There's only one source file.  So if you add an option you'll add it to 
all of them.

>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.

Adding a new option is fine; changing the output is not.

Casper

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

Reply via email to