Sorry, it wasn’t the Arch wiki. It was this page.
I hate using Stack Exchange as a source of truth, but the Arch wiki references this discussion which points out that not all SSDs support “Deterministic read ZEROs after TRIM”, meaning a pure blkdiscard is not guaranteed to clear data (unless the device is advertised with that feature), leaving it available for forensics. Which means having to use --secure
, which is (also) not supported by all devices, which means having to use -z
, which the previous source claims is equivalent to dd if=/dev/zero
.
So the SSD is hiding extra, inaccessible, cells. How does blkdiscard
help? Either the blocks are accessible, or they aren’t. How are you getting a the hidden cells with blkdiscard
? The paper you referenced does not mention blkdiscard
directly as that’s a Linux-specific command, but other references imply or state it’s just calling TRIM. That same paper, in a footnote below section 3.3, claims TRIM adds no reliable data security.
It looks like - especially from that security paper - that the cells are inaccessible and not reliably clearable by any mechanism. blkdiscard
then adds no security over dd
, and I’d be interested to see whether, with -z
, it’s any faster than dd
since it perforce would have to write zeros to all blocks just the same, rather than just marking them “discarded”.
I feel that, unless you know the SDD supports secure trim, or you always use -z
, dd
is safer, since blkdiscard
can give you a false sense of security, and TRIM adds no assurances about wiping those hidden cells.
Yeah. This fantastic woman married me. I have no idea why.
Also, I really don’t understand rockets at more than a superficial level, but I saw one launch once.
I’m quite uncertain about jet airplanes, especially when you’re, like, driving in the same direction and there’s a strong headwind, and it almost looks like you’re going faster than them? They’re just hanging there, god knows how many tons of metal and 300 people. It’s creepy.
And I really think economics is proof that we’re in the Matrix, because the more I think about it, the less (functional, not ethical) sense capitalism makes, and everybody who talks like they know about it just sounds like stringing together a bunch of buzzwords. Also, there’s that truism that if you ask four economists a question, you’ll get five opinions. Plus nobody can reliably predict the stock market; weather - a highly chaotic system - is more predictable than the stock market. It’s like the programmers put it in, but when it got to the point where they had to make it explainable, they couldn’t without introducing recursive conflicting rules, so it’s just hand-waving, and people pretending or misleading themselves that they know how it all works.