On 07/12/05 17:48, Joerg Schilling wrote:
Gavin Maltby <[EMAIL PROTECTED]> wrote:

Anyway, an ldd on /usr/bin/bash shows that it requires nothing
outside of /lib (ie nothing in /usr).  So my guess would be
that simply copying /usr/bin/bash to /sbin would make it
available to you in times of emergency (ie when only /
is mounted, perhaps ro).


This does not help ud /usr is not mounted in single user emergency mode.

/bin is a symlink to /usr/bin and when /usr is not mounted, then
there is no /bin/ksh -> the bourne shell dies from the exec above.

Yes, but I'm suggesting that copying bash into /sbin, which is always
in the root device, will likely allow you to be able to run
/sbin/bash when only / is available since it appears that
all the libraries it requires are satisfied from /lib
and does not require /usr/lib.  i.e., I'm saying that
to satisfy those who'd like bash available in times
of emergency all that appears to be required is to deliver
the bash binary into /sbin as well as /usr/bin.

Gavin
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to