I was installing some software on a linux image over the weekend. During the installation, I ran out of space in my root mount, so I decided to move some stuff to another mount.
I had meant to type:
mv ./lib /opt/lib
instead, I typed:
mv /lib /opt/lib
Since the software I was installing required root access, the latter command actually succeeded. After that, I could only run 'cd' and 'whence'. Most of the other commands didn't work, like 'ls', 'mv', 'ln', 'mkdir', 'rm'. It was so sad, the files were RIGHT THERE in /opt/lib, but I couldn't move it back to /lib.
Anyway, it took three different system programmers two shifts to fix up my boo-boo. Thank goodness for backup images. I felt so horrible.
Everyone else had a good laugh at my expense though...
0 Comments:
Subscribe to:
Post Comments (Atom)