• brokenlcd@feddit.it
    link
    fedilink
    arrow-up
    17
    ·
    13 hours ago

    dd would like to have a word about that… But still, another tool in the arsenal is always useful.

    Thanks for the tip.

    • tomkatt@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      edit-2
      13 hours ago

      Yeah, that’s the other 10%. 😂

      Doing dd wrong or rm -rf on / aren’t gonna be salvaged this way, but if it’s a bad disk sector or somehow corrupted system file the above command will sort it out. You wouldn’t believe how many customers VMs I’ve had to use that on in the past when they were in a panic. It’s a 2 minute fix in most cases.

      It’s kind of the Linux equivalent to Windows sfc/scannow, chkdsk, and dism restorehealth in one.