Subject: Re: /usr/libexec/ld.elf_so (Was: lfs_cleanerd(8) needs /usr)
To: None <tech-toolchain@netbsd.org, current-users@netbsd.org>
From: Matthias Scheler <tron@zhadum.org.uk>
List: current-users
Date: 08/24/2007 13:48:46
On Wed, Aug 22, 2007 at 02:11:44PM +0400, Valeriy E. Ushakov wrote:
> Hmm, I've been always wondering, why we bother with
> /usr/libexec/ld.elf_so at all, it's symlink to /libexec anyway.
> 
> Does anyone knows/remembers the rationale?

It's the default path used for all binaries. If you check e.g. "/usr/bin/vi"
or "/usr/pkg/bin/<whatever>" you will notice that they all use
"/usr/libexec/ld.elf_so".

Only "/bin", "/libexec" and "/sbin" use "/libexec/ld.elf_so" if the system
is compiled to use a dynamic root (which is the default).

	Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/