Hi, I noticed that a relatively small number of MacPorts (but some of them being quite important such as slapd for OpenLDAP and mysqld) install binary executables into the {prefix}/libexec directory compared to the much more often used and larger {prefix}/bin directory. I'm curious what is the logic for having two separate directories one named "libexec" and the other named "bin"? Thank you, -T.M.
Le 16 août 07 à 14:38, Tabitha McNerney a écrit :
Hi,
I noticed that a relatively small number of MacPorts (but some of them being quite important such as slapd for OpenLDAP and mysqld) install binary executables into the {prefix}/libexec directory compared to the much more often used and larger {prefix}/bin directory.
I'm curious what is the logic for having two separate directories one named "libexec" and the other named "bin"?
Thank you,
-T.M.
From porthier(7): libexec/ system daemons & system utilities (executed by other programs) -- Anthony Ramine, the infamous MacPorts Trac slave. nox@macports.org
N_Ox wrote:
I'm curious what is the logic for having two separate directories one named "libexec" and the other named "bin"?
From porthier(7): libexec/ system daemons & system utilities (executed by other programs)
Also noteworthy is that "libexec" is a UNIX/BSD standard, and that it isn't in the Linux Filesystem Hierarchy Standard (FHS). Thus, on some distributions (e.g. RedHat) you'll find the programs in their upstream location of "libexec" and on other distributions (e.g. Debian) you'll find the programs randomized between "lib/$name" and "sbin". Quite intriguing... If you're into that sort of thing, you can also find out the differences between "sbin" and "bin". Or "/usr" and "/usr/local". --anders
Thanks a lot, I had never seen the porthier or the hier man pages (thanks jk for your private email). Very much appreciated as I now have even more appreciation for MacPorts and the layout of the land! Cheers, T.M. On 8/16/07, N_Ox <n.oxyde@gmail.com> wrote:
Le 16 août 07 à 14:38, Tabitha McNerney a écrit :
Hi,
I noticed that a relatively small number of MacPorts (but some of them being quite important such as slapd for OpenLDAP and mysqld) install binary executables into the {prefix}/libexec directory compared to the much more often used and larger {prefix}/bin directory.
I'm curious what is the logic for having two separate directories one named "libexec" and the other named "bin"?
Thank you,
-T.M.
From porthier(7): libexec/ system daemons & system utilities (executed by other programs)
-- Anthony Ramine, the infamous MacPorts Trac slave. nox@macports.org
participants (3)
-
Anders F Björklund
-
N_Ox
-
Tabitha McNerney