Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Enlightenment

Journal bersl2's Journal: And so, bersl2 learned an important lesson: 3

I think I'll let you figure out the lesson.

bersl2@laptop:~$ rm * /mnt/floppy/*

I run XFS, so undelete is OUT OF THE QUESTION (XFS supposedly zeroes out all unlinked blocks; I'm still getting a raw image of my home partition, just in case.) I'm installing libtrash as I write (Backups are also out of the question until I can actually set up my desktop. The fucking shits who used to own this place didn't make a single improvement for 30 fucking years, so the only place with grounded sockets is in the kitchen.)

I was able to realize my mistake before I lost EVERYTHING ([A-Za-b]* is gone). And hey, I still have my pr0n collection...

But I'm still very pissed at myself. I am a fucking idiot. Fuck me.

This discussion has been archived. No new comments can be posted.

And so, bersl2 learned an important lesson:

Comments Filter:
  • ...to try to rescue a system without /bin and /boot :P /bin/mount is gone so you probably need to download it over the net. Then copy /bin from some liveCD or whatever. Once /bin is rescued, reinstall lilo and recompile kernel to recover /boot. And just in case, copy some /dev in case some entries are gone.
    If /etc is gone, you may as well start reinstalling...
    • it wasn't rm -rf /, it was rm *, with pwd=$HOME. so it's not the whole system, just my home dir. this is on my laptop, my only computer I've been able to use for the last 2 months due to circumstances; trust me, I'd rather have needed to reinstall the whole system than try to recover data.

      After aborting the rm, I have subdirectories, plus [c-z] left intact. I immediately logged out as me, logged in as root, umounted /home. I was too panicked to use an official dump utility, but I did cat /dev/hda6 > to
      • Yeah, noticed the ~ after posting.
        Well, I have too much stuff to keep impotant things in ~/, alost all is in subdirectories, and the subdirs are 1-letter long to display well on ls.
        Well, all my Amiga stuff would be gone :P And a good portion of pr0n.

        Once I thought about creating a deep tree of long-filename subdirs that buffer-overflows and crashes rm (.aaa/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/aaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa a

After an instrument has been assembled, extra components will be found on the bench.

Working...