• Forester@yiffit.net
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    7
    ·
    edit-2
    1 month ago

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

    • cm0002@lemmy.world
      link
      fedilink
      English
      arrow-up
      30
      arrow-down
      1
      ·
      edit-2
      1 month 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.

      • brbposting@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 month 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@lemmy.world
          link
          fedilink
          English
          arrow-up
          13
          ·
          1 month 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.

      • Verat@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month 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@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      edit-2
      1 month 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@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      1
      ·
      edit-2
      1 month 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@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 month 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.