f3probe: rename real size to usable size

f3probe does not try to find the real amount of memory that
a fake card has, but the usable about of memory, that is,
the memory from the first block (i.e. block zero) to
the block before the first failed block.

A fake card may have more memory, but it would be spread among
failed blocks, so it is not usable.
This commit is contained in:
Michel Machado 2015-10-27 09:00:12 -04:00
parent 795424c873
commit 277f61a403

View File

@ -419,7 +419,7 @@ static int test_device(struct args *args)
time_s = (t2.tv_sec - t1.tv_sec) + (t2.tv_usec - t1.tv_usec)/1000000.; time_s = (t2.tv_sec - t1.tv_sec) + (t2.tv_usec - t1.tv_usec)/1000000.;
printf("\nDevice geometry:\n"); printf("\nDevice geometry:\n");
report_size("\t *Real* size:", real_size_byte, block_order); report_size("\t *Usable* size:", real_size_byte, block_order);
report_size("\t Announced size:", announced_size_byte, report_size("\t Announced size:", announced_size_byte,
block_order); block_order);
report_order("\t Module:", wrap); report_order("\t Module:", wrap);