[SPARCbook] Shell?

Lion Templin ltemplin at monolith.leonine.com
Mon Jan 24 11:20:03 CST 2000


On Mon, 24 Jan 2000, Jeff wrote:

> Screw that then!
> I can always just go into bash after I log in.  I never thought about not being
> able to get to /usr... good point.
> 

It doesn't matter ... ever try to boot a Solaris box (<= 2.6, anyway.  I
haven't used 7) WITHOUT mounting /usr?  Good luck doing anything with it ..
why?  Look at your root directory (`ls -al /`).
The two entries of interest:

lrwxrwxrwx   1 root     root           9 Dec  7  1998 bin -> ./usr/bin/
lrwxrwxrwx   1 root     root           9 Dec  7  1998 lib -> ./usr/lib/

That's right, symlinks into /usr .. so unlike others (like Linux) Solaris
needs /usr to do anything.  I had the most unfortunate experiance once of
HAVING to do something to the root partition and required /usr NOT to be
mounted.  I ended up pulling the drive from the server and connecting it to
my SPARCBook and mounting it there to do the requisite fixes.  The system
itself wouldn't do anything useful w/o /usr and /lib mounted.

There's little point in keeping your /bin/sh when you can't get to it w/o
/usr (Oh, BTW, it's dynamically linked too as I recall) .. so my opinion is
go ahead and change your shell.

Lion

= lion is Lion J Templin (KB9ENE)                         lion at leonine.com =
=  ||        //             ||>            UNIX Systems Consulting for the =
=  ||=EONINE \\OMPUTATIONAL ||\ESOURCES       Northland FROM the Northland =
=  UNIX Systems Consultants                         http://www.leonine.com =







More information about the SPARCBook mailing list