<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'><font style="font-size: 12pt;" size="3" face="Calibri"><span style="font-size:12pt;"><span dir="ltr">Date: Wed, 8 Jul 2015 18:37:04 +0000<br>

<div>From: f.rech@yahoo.fr<br>

To: dj_kaza@hotmail.com<br>

Subject: Re: [LAU] OT: Bash help to check new USB keys.<br>

<br>

<div style="background-color:white;"><font size="2" color="black" face="HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"><span style="font-size:16px;background-color:white;">
<div> </div>
<div><br>

</div>
<br>

<div style="">It's not a full testing of a flash device I'm worried 
about, especially as they are new, I just want to know they really are 
the size they report as being...</div>
<div style="padding-left:5px;border-left:2px solid #1010FF;">
<div><font face="HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<div><font face="HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<div>
<div>
<div>
<div>
<div><br>

<br>

</div>
<div>
<div><br>

Dale.<br>

</div>
</div>
</div>
</div>
</div>
<br>

</div>
</font></div>
</font></div>
</div>
<div><font face="HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<div><font face="HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<div><br>

</div>
</font></div>
</font></div>
<div style="padding-left:5px;border-left:2px solid #1010FF;">
<div><font face="HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<div><font face="HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<div><br>

<br>

<div>Probably GParted will tell you that,</div>
<div>HTH,</div>
<div>Fred<br>

<br>

</div>
</div>
</font></div>
</font></div>
</div>
<div><font face="HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<div><font face="HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<div>
<div><br>

<br>

Except the likes of GParted, df, udisks etc are exactly what I don't 
trust! I have read too many reports of people buying say a 128GB usb 
drive, copying loads of data onto it and later discovering everything 
after say 8 or 16GB isn't really there! Somehow they
fake the part (ToC? MBR?) which the computer reads the size of the drive
 from and seems (at least in Doze-land, where most of these reports are 
from, but then again so is most the computer world) that the system even
 reports having written the files correctly
and they show up in the table of contents and in your file explorer as 
you would expect. Hence I want to actually write data until the drive is
 near full and do an md5sum on the files I have written. It's only a 
single write of the few thousand they should
be usable for and I plan to use them predominantly as back-up storage so
 I don't envisage lots of erase and re-writes over their lifetime. Basic
 drive integrity isn't a worry. Being sold dodgy, fake components which 
report the wrong size is.<br>

<br>

I did wonder if doing something as simple as a full (rather than Quick) 
format to the likes of ext4 might catch out something like this too...<br>

<br>

Dale.<br>

</div>
</div>
</font></div>
</font></div>
<div style="padding-left:5px;border-left:2px solid #1010FF;">
<div><font face="HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<div><font face="HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"> </font></div>
</font></div>
</div>
</span></font></div>
</div></span></span></font>                                       </div></body>
</html>