Josh Berkus wrote:
>>>     /usr/bin/dltest
>>>     /usr/bin/isql
>>>     /usr/bin/iusql
>>>     /usr/bin/odbc_config
>>>     /usr/bin/odbcinst
> 
> I hate putting anything in /usr/bin.  Can't we do /usr/bin/unixodbc?
> 
> For example, "isql" is also a TDS utility, an iODBC utility and a Firebird 
> utility.

This is a valid point, although I'm a bit reluctant.

1. It seems the common linux distros put it in /usr/bin (I've only
    verified with Fedora, Debian and Ubuntu so far. Will check with
    SuSE.)

2. One could argue that unixODBC is more of a "system" utility than
    the product specific utilities are, so it should have more right
    to be in /usr/bin than those.  This is a weak point, however..

As Zdenek pointed out, we should also consider  /usr/include/odbc for
the header files, and /etc/odbc for the configuration files, but
wouldn't the principle of least astonishment lead us to put the files
where the others put it?

Since the system-wide config files aren't used by the common user or
developer, I don't mind putting them in another directory, though.

--Magne


Reply via email to