William James wrote:
On 3/6/07, Darren J Moffat <[EMAIL PROTECTED]> wrote:
William James wrote:
> On 3/6/07, Garrett D'Amore <[EMAIL PROTECTED]> wrote:
>> And that's what I'm talking about. I'm not concerned about the
>> installer. But I do want to be able to formulate a recipe for a tiny
>> distro. That's a lot harder when "critical" pieces are implemented in
>> languages like perl.
>
> Solaris uses 5 shells during boot where 3 of them are clearly
> obsoleted by ksh93. IMO this should be reduced to exactly *1* during
> boot.
Where do you get the number 5 from ?
I did a very quick (and probably insufficient) look based on
/lib/svc/method and /etc/init.d and I only find 2
/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)
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
Nope.
/bin/sh
$ ls -l /bin
lrwxrwxrwx 1 root root 9 Dec 12 15:20 /bin -> ./usr/bin/
$ ls -l /bin/sh
lrwxrwxrwx 1 root root 13 Dec 12 15:31 /bin/sh ->
../../sbin/sh*
/bin/ksh
/bin/ksh93 <new
Solaris doesn't have ksh93 integrated yet so that is just impossible at
this stage.
/bin/bash
What things use bash during boot ? I looked and couldn't find any.
/usr/xpg/bin/sh
No such path on Solaris.
It is either /usr/xpg4/bin/sh or /usr/xpg6/bin/sh
What things are using the xpg version of sh during boot ? I looked and
couldn't find any.
Please tell me what things are using bash and an xpg variant of sh
during boot and how you found that information out.
--
Darren J Moffat
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code