William James writes:
> > /sbin/sh (and its links /bin/sh and /usr/bin/sh)
> > /bin/ksh
> >
> > So what are the other three shells used during boot ?
> 
> /sbin/sh <statically linked (yuk)

You might think so at first blush, but:

$ ldd /sbin/sh
        libgen.so.1 =>   /lib/libgen.so.1
        libsecdb.so.1 =>         /lib/libsecdb.so.1
        libc.so.1 =>     /lib/libc.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libm.so.2 =>     /lib/libm.so.2
$ ls -sl /usr/bin/sh
   2 lrwxrwxrwx   1 root     root          13 Mar  2 10:04 /usr/bin/sh -> 
../../sbin/sh

It's not what you think it is.

> /bin/bash

Eek!  What's that?  I see nothing using bash under /etc/rc* or
/lib/svc/method.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to