• 0 Posts
  • 6 Comments
Joined 3 months ago
cake
Cake day: August 15th, 2024

help-circle


  • 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.


  • pixelscript@lemm.eeto196@lemmy.blahaj.zoneAutism rule
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    Yes. On average.

    If you specifically take 100 kilos of core material from the Sun, then it would be a no contest victory for the Sun. But the Sun is very, very big, and when it comes to producing energy, most of it is doing absolutely nothing. So it brings the average energy production per kilo way, way down.



  • pixelscript@lemm.eeto196@lemmy.blahaj.zoneAutism rule
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 months ago

    On the other hand, if you average the Sun’s energy generation across its entire volume and adjust for that volume’s mass, an equivalent mass of human body tissue generates more heat energy.

    So your eyes may not have the raw lumen output of an entire star; but, pound for pound, your eyes would outshine a similarly massive piece of one.