mirror of
https://github.com/AltraMayor/f3.git
synced 2025-08-04 02:55:57 -04:00
f3probe: warn about how much time probing takes
This patch addresses issue discussed here: https://github.com/AltraMayor/f3/issues/33
This commit is contained in:
parent
69d696090c
commit
d8694268a6
@ -408,6 +408,9 @@ static int test_device(struct args *args)
|
|||||||
dev = sdev;
|
dev = sdev;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printf("WARNING: Probing normally takes from a few seconds to 15 minutes, but\n");
|
||||||
|
printf(" it can take longer. Please be patient.\n\n");
|
||||||
|
|
||||||
assert(!gettimeofday(&t1, NULL));
|
assert(!gettimeofday(&t1, NULL));
|
||||||
/* XXX Have a better error handling to recover
|
/* XXX Have a better error handling to recover
|
||||||
* the state of the drive.
|
* the state of the drive.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user