• greengnu
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 months ago

    checksums at the filesystem level does nothing to protect against memory corruption which can overwrite everything on your disk with null values and a matching checksum; fail to write anything to disk and/or do nothing.

    But that is the gamble you take every day with every GB of RAM you have.

    • poVoqOPMA
      link
      fedilink
      arrow-up
      1
      ·
      6 months ago

      Btrfs automatically switches to read only mode when it detects unrecoverable errors, which prevents severe memory issues from doing serious damage.

      But your scenario is so unlikely that it borders on the impossible anyways.