Re: /usr/lib vs /usr/libexec
Thomas Bushnell BSG <tb@becket.net> writes:
> Martin Dickopp <martin@zero-based.org> writes:
>
>>> It seems that Red Hat has a lot of programs under /usr/libexec that are
>>> under /usr/lib in Debian. One example is /usr/lib/postfix
>>> vs /usr/libexec/postfix.
>>>
>>> It seems to me that /usr/libexec is a better name for such things,
>>
>> I disagree. Why is it important to distinguish between shared libraries
>> and internal binaries (i.e. programs not supposed to be called directly
>> by a user)?
>
> lib is the place where ld searches for libraries. Linking is not
> speedy, and a non-trivial amount of the time is spent slogging through
> /usr/lib looking for the libraries wanted.
Is this an issue even with modern filesystems (like ext3 with the
dir_index feature turned on) for which the kernel can find a directory
entry faster than in O(n) time?
Martin
Reply to: