Just looking for an idea ..

2007-12-25 1:51:00

Good afternoon all,
I am writing here because I had a peculiar situation and due to
time constraints did not have time to write before. Basically the
situation is that trying to unlink a file in /usr/lib, I accidentally
unlink /usr/lib. This wouldn't be such a bad thing if it wasn't a disk
that was mirrored. Needless to say I couldn't copy /usr/lib from cd
because it deleted it everytime I rebooted. I even tried editing the
vfstab to not boot mirrors. No luck. I tried copying /usr/lib to both
disk and mirror. With no success. So I had to re-install the whole
machine from scratch. Luckily for me it was my mail and news server. My
question is, was there a way for me to be able to restore /usr/lib dir
without having to re-install the whole thing ? Probably a command or
something I could've used off the cdrom to make it not look for mirrors
? And then boot it up and re-create the mirrors ?

Comments

Got something to say?

You must be logged in to post a comment.