<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><br><div>> Date: Thu, 9 Jul 2015 01:23:15 -0400<br>> From: unicorn+lau@sdf.org<br>> To: linux-audio-user@lists.linuxaudio.org<br>> Subject: Re: [LAU] OT: Bash help to check new USB keys.<br>> <br>> On Wed, Jul 08, 2015 at 04:54:52PM +0000, Kaza Kore wrote:<br>> > I did ask this on the Ubuntu forum roughly a week ago but have had<br>> > zero helpful replies off the "community" there so I hope you don't<br>> > mind the off-topic (as far as audio goes) subject here.<br>> > <br>> > I have recently bought some large USB keys to use as backup storage to<br>> > replace my old moving disk external hard drive. Due to the worry of<br>> > the reports of fakes reporting to be large drives, even when plugged<br>> > into the system, I wanted to test these before using them for real.<br>> > Seems best way to do this is fill the drive up and check data for<br>> > integrity.<br>> <br>> Someone else has already done the work for you.  Check out F3 at<br>> <http://oss.digirati.com.br/f3/>.  The f3write and f3read programs will<br>> do a thorough check that will take hours to complete.  If you build the<br>> experimental parts, you will also have an f3probe program that will do<br>> a much faster test based on the author's knowledge of how fake flash<br>> drives work.  It will not only tell you the true size of the drive,<br>> but will also tell you a command to run (using the included f3fix<br>> program) to "fix" the drive, which doesn't actually fix it, but instead<br>> creates a single partition that ends at the last good sector.  Since it<br>> tells you what that last good sector is, you can also repartition the<br>> drive however you want, as long as all partitions end before that sector.<br>> <br>> Chuck<br>> <br>> -- <br><br>Sounds perfect. I'll have a read on that today. Thanks, Dale.<br></div>                                          </div></body>
</html>