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 *
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.
Yeah, lots of fun... (Score:2)
If
Re:Yeah, lots of fun... (Score:2)
After aborting the rm, I have subdirectories, plus [c-z] left intact. I immediately logged out as me, logged in as root, umounted
Re:Yeah, lots of fun... (Score:2)
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
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