> >/sbin/sh is a static linked shell for use by root, so that
> >root can still login and repair the problem if something
> >happens to*up dynamic linking.
> Nice in theory, but you still need to have a number of tools statically
> linked (or included in /sbin/sh) for this to work. Things like mv, cp,
> ln, ls are all very useful; other programs (tar, gzip, etc.) are useful,
> but you probably could live without them if you had to.
Agreed; hence:
. .. cp ln mv rcp tar
/usr/sbin/static/cp: ELF 32-bit MSB executable SPARC Version 1, statically linked, stripped
/usr/sbin/static/ln: ELF 32-bit MSB executable SPARC Version 1, statically linked, stripped
/usr/sbin/static/mv: ELF 32-bit MSB executable SPARC Version 1, statically linked, stripped
/usr/sbin/static/rcp: ELF 32-bit MSB executable SPARC Version 1, statically linked, stripped
/usr/sbin/static/tar: ELF 32-bit MSB executable SPARC Version 1, statically linked, stripped
(No, I don't know why /usr/sbin/static is under /usr, rather than being
called /sbin/static. /sbin/static makes more sense to me, given that
some people like to have a separate /usr partition.)
--
Rich Teer
President,
Rite Online Inc.
Voice: +1 (250) 979-1638
URL: http://www.veryComputer.com/