From 277f61a40376497cb0f6841304eaf5a117b0e1ef Mon Sep 17 00:00:00 2001 From: Michel Machado Date: Tue, 27 Oct 2015 09:00:12 -0400 Subject: [PATCH] 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. --- f3probe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/f3probe.c b/f3probe.c index eeae630..7833307 100644 --- a/f3probe.c +++ b/f3probe.c @@ -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.; 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, block_order); report_order("\t Module:", wrap);