[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: where to put shell scripts?



On Tue, Oct 31, 2000 at 08:58:19PM -0500, Brenda J. Butler wrote:
> 
> Also, if you have split out your filesystem such that /usr/anything
> is mounted, then in the event of a system crash your /usr/lib dynamic
> libraries may not be available if those filesystems refuse to mount.
> This is a compelling reason to make sure that all the system utilities
> in /sbin (and all the regular utilities in /bin) are statically linked.

either staticly linked or keeping any libraries they depend on in /lib
instead of /usr/lib.  this is what debian does:

[eb@socrates eb]$ file /bin/ls
/bin/ls: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1,
dynamically linked (uses shared libs), stripped
[eb@socrates eb]$ ldd /bin/ls
        libc.so.6 => /lib/libc.so.6 (0x0feea000)
        /lib/ld.so.1 => /lib/ld.so.1 (0x30000000)
[eb@socrates eb]$

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgptbIMAr99bP.pgp
Description: PGP signature


Reply to: