On 21/01/2020 12.40, Jonathan Dowland wrote:
> On Sun, Jan 19, 2020 at 06:30:01PM +0100, Sudip Mukherjee wrote:
>> The simple tool disk-filltest can help, together with S.M.A.R.T. monitoring, 
>> to
>> check disks periodically and thus be forewarned about coming failures. The
>> function of disk-filltest is simple:
>>
>> * Write files random-######## to the current directory until the disk is 
>> full.
> 
> How does this compare to f3read and f3write, from the "f3" package?

Very good question. And the answer is simplicity.

f3 is targeted at detected "fake" flash disks which pretend to be larger
than they are. There is a lot of code around that, handling file system
and detecting flash disks and stuff like that. Yes, f3 too writes a
random sequence and checks it. But then tries to locate the maximum
valid size and so on.

f3 is 3992 lines of C code according to my loc-counting tool.
disk-filltest is 380 lines and does not try to do anything fancy.

Best,
Timo

Reply via email to