mv /usr /usr-old

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Rusty Carruth
Date:  
Subject: mv /usr /usr-old
(Oops, for LARGE values of oops!)

> hmmm not that I ever tried this but shouldn't /usr/bin-old/mv /usr-old
> /usr work? and if not (because of the library) I would think that
> /usr/bin-old/ln -s /usr /usr-old would work.


I bet you'll have to set LD_LIBRARY_PATH and PATH also...

> > Ok so you saw the subject title and you are probably
> > laughing really hard, but how do you get out of this
> > situation?
> >
> > btw this a solaris box so the nice little commands
> > like ln, mv and so on are in /usr/bin and the problem
> > is now it doesnt know where to find the library
> > ld.so.6


yeah. If the LD_LIBRARY_PATH thing does not work, then
you might want to see if you can get a statically-linked
mv or ln or cp....

rc