<p>Am 20.12.2014 00:01 schrieb "Rainer Stratmann" <<a href="mailto:rainerstratmann@t-online.de">rainerstratmann@t-online.de</a>>:<br>
><br>
> Hi Dave!<br>
><br>
> that's exactly what I was searching for.<br>
> Thanks a lot.<br>
><br>
> One question is left:<br>
><br>
> Where can I read the blocksize. Normally it is 512 bytes. But there are<br>
> (newer) devices where there is a different blocksize. Also a CD has a different<br>
> blocksize as far I know.</p>
<p>Please note that there are drives that internally have 4kB, but emulate 512B ones. On SATA ports you can determine this, but if you connect them using some USB adapter you might not be able to detect this. Depending on what you plan to do thus is important (e.g. copying large amount of data would be better done in 4kB blocks or multiples of that).</p>
<p>Regards,<br>
Sven</p>