On Jul 12, 2005, at 9:48 AM, Joerg Schilling wrote:




It's been some time since I was last familiar with this stuff.
Am I correct in saying that /lib (as distinct to /usr/lib)
contains libraries that may be needed during recovery operations
(eg, when /usr is unavailable)?  I think that is correct,
and explains the demise of the old static binaries
in /usr/sbin/static.

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.



In high end server environments, particularly those that run Veritas Volume Manager, /usr should be part of /.

<http://www.sun.com/blueprints/0500/vxvmstorge.pdf>

Read the section of this Blueprint as to the whys. In my experience, making /usr part of / also has the effect of not caring about using a command in /usr/bin (like a shell) in single user mode.

-john


_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to