08 April, 2008

Son of bitch. Shit.

I today I learned how it feels to do an rm -rf / on my system.

This happened and work, and luckily, it was my computer, and not one of the servers. And I wasn't running as root.

But still.

Somehow...and believe, I'd love to know about that how...but somehow, my root folder (/) go into my Trash folder. (I'm using Gnome, BTW, so hence why I even have a Trash folder.) And I decided to empty my trash before shutting down the machine (today is the day we move back into our permanent offices).

Which suddenly caused a lot more items to go flying by than I would have suspected. After cancelling the process, I realize that my Desktop is now clear of anything useful, such as my files and links. And my shortcuts are gone. And then I find that quite a lot of my dot-files are gone.

*sigh*

So now I'm trying to recover from all of that. Luckily, few (if any) binaries were affected. So its more a matter of getting things set up the way I had them before. Sadly, I've lost my archived e-mails for last year. And the bulk of the work I had done on our password changing mechanism.

But hey, at least I've got my window again, so no more going crazy without natural light.

2 comments:

  1. d'oh!

    i did that once... about 15 years ago. my supervisor was ... displeased.

    ReplyDelete
  2. [...] James finally did it. What is it? He typed rm -rf / on a Solaris box. Fortunately, he wasn’t root. I, however, was root when I typed rm -rf * on a SunOS 4 box that ran a lot of core apps for a company in the mid 1990s. By the time I realized what had happened, I had blown away the kernel, and /etc. Needless to say, much hilarity ensued, fortunately it didn’t crash due to the fact that the kernel and all the files it needed were still open, and therefore accessible. It was the reboot that would kill it. [...]

    ReplyDelete