• 0 Posts
  • 4 Comments
Joined 1 month ago
cake
Cake day: August 15th, 2024

help-circle
  • I’m not sure what’s regrettable about this information.

    In the next scene where the date takes place, they embrace their old school cool, knock it out of the park, and have a blast. It genuinely romanticizes being this old and made me look up to being this old when I watched as a kid.

    All this meme is telling me is, “Congrats, you made it, now go find people in your cohort and live it up with them in ways that mean things to you, even if the kids think you’re cringe,” and that’s wonderful.


  • The other day I learned that you can just grep an unmounted filesystem device. It will read the entire disk sequentially like it’s one huuuuge file. And it will reveal everything on that disk… whether a file inode points to it or not.

    Used it to recover data from a file I accidentally clobbered with an errant mv command. It’s not reliable, but when you delete a file, it’s usually not truly gone yet… With a little luck, as long as you know a unique snippet that was in it, you can find it again before the space gets something else written there. Don’t even need special recovery tools to do it, just use dd in a for loop to read the disc in chunks that fit in RAM, and grep -a for your data.