• @[email protected]
    link
    fedilink
    English
    11
    edit-2
    4 months ago

    Proper deletion should include writing all ones or all zeroes to the block but y’all be lazy as fuck.

    • @cm0002
      link
      English
      29
      edit-2
      4 months ago

      Only necessary on the ol spinning rust, with SSDs not only is it completely unnecessary, but it also burns extra writes.

      Spinny’s store data magnetically on the platter with 1s and 0s, SSDs store data on the NAND as a held charge. If there’s a charge in the block it’s a 1 if there’s no charge it’s a 0.

      With spinny’s, a file gets marked as “deleted” but the residual magnetic 1s and 0s will remain on the platter until eventually overwritten

      With SSDs a file gets marked “deleted” and within no more than a few minutes TRIM comes along and ensures the charge on the NAND is released for that data, there’s no residuals to worry about like with spinny’s and is in fact necessary to ensure decent lifespans.

      • @[email protected]
        link
        fedilink
        English
        34 months ago

        Wow, the SSD can hold the charges perfectly while unplugged for ages? Amazing.

        In a post apocalyptic world where I am in charge of building a storage drive and I’m given all the instructions and fabs, the world is going without storage.

        • @davidgro
          link
          English
          134 months ago

          Wow, the SSD can hold the charges perfectly while unplugged for ages? Amazing.

          Yup. Before flash memory, devices like video game cartridges which had game saves actually needed a battery to power the memory holding the saves.

      • Hucklebee
        link
        English
        34 months ago

        I want a spinny as a pet now. Sounds cute.

      • @[email protected]
        link
        fedilink
        English
        24 months ago

        But wouldn’t TRIM be the deleting he is requesting? Removing the charges would be setting all the bits in that block to the same value.

    • @AProfessional
      link
      English
      10
      edit-2
      4 months ago

      That just makes no sense to do, modern storage is write limited. As long as you used encryption the old bits mean nothing to anyone but you.

    • @EvilBit
      link
      English
      8
      edit-2
      4 months ago

      I’m not an expert, but wouldn’t proper deletion be writing random ones and zeroes to the block? Multiple times?

    • Simon Müller
      link
      fedilink
      English
      34 months ago

      yeah cuz for normal, day-to-day use that’s exponentially slower the more you’re deleting

      You can do that when you wipe something.

    • @foggy
      link
      English
      24 months ago

      Nitpick: it should be fuzzed with random 0s and 1s.