TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: =?UTF-8?Q?BJ=C3=B6RN_LUND
date: 2019-10-30 22:01:00
subject: Re: SDCardKiller

Den 2019-10-30 kl. 02:25, skrev Knute Johnson:
> Following a discussion on another thread about the life limits of an
> SDCard I thought I would write a program to write one to death and see
> just how long it lasts.
>


looking in the code
         Arrays.fill(ones,(byte)1);
         Arrays.fill(zeros,(byte)0);

should that not be
          Arrays.fill(ones,(byte)255);

if all bits should be 1?
Or am I thinking wrong layer here?


And if the filesysem is the wrong layer,
perhaps sticking the card in a pc and use
a script fiddling with dd is better - it s on block level


--
Björn

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.