Re: zero filling a storage device (was: dd and mbr)

From: Greg 'groggy' Lehey <grog_at_FreeBSD.org>
Date: Sat, 15 Jan 2022 22:26:48 UTC
On Friday, 14 January 2022 at 17:14:18 +0000, Arthur Chance wrote:
> On 14/01/2022 15:32, Christian Weisgerber wrote:
>> "Kevin P. Neal":
>>
>> I'll note that there are SSDs that compress the data written to
>> them.  (Compression in storage devices isn't new.  Terry Welch's
>> 1984 paper, where he presented the LZW compression algorithm, already
>> talks about this.)
>
> May I suggest "man trim"? (From 12.1 onwards.)

Yes, but if you also read the man page, you'll see that it's a very
blunt instrument.  It certainly doesn't identify blocks with a
specific data pattern and optimize them out.

Greg
--
Sent from my desktop computer.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA.php