From d8694268a6f1888f15acfc6f488d3c6821a74adc Mon Sep 17 00:00:00 2001 From: Michel Machado Date: Mon, 21 Dec 2015 09:37:43 -0500 Subject: [PATCH] f3probe: warn about how much time probing takes This patch addresses issue discussed here: https://github.com/AltraMayor/f3/issues/33 --- f3probe.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/f3probe.c b/f3probe.c index bb8e6ff..e647d7c 100644 --- a/f3probe.c +++ b/f3probe.c @@ -408,6 +408,9 @@ static int test_device(struct args *args) 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)); /* XXX Have a better error handling to recover * the state of the drive.