progress icon indicating copy to clipboard operation
progress copied to clipboard

no progress output for dd to /dev/null

Open patrickdepinguin opened this issue 9 years ago • 3 comments

Perhaps this is related to issue #15 . Following command:

dd if=/dev/urandom of=/dev/null bs=1M count=100000

does not yield output in 'progress'. It does detect a running dd command, since the warning "No command currently running" does not appear, but does not show any progress output.

Changing the output file to /tmp/foo fixes that.

Perhaps it is impossible to get accurate progress information in this case, but I'd expect a message telling me that.

patrickdepinguin avatar Oct 04 '16 10:10 patrickdepinguin

Regarding that last statement, dd itself can report progress info by sending a SIGUSR1 signal to it.

patrickdepinguin avatar Oct 04 '16 10:10 patrickdepinguin

dd show progress with status option. Example: # dd if=/dev/sda of=/dev/sdb bs=1024k status=progress

ghost avatar Oct 04 '16 19:10 ghost

In the case of a dd if=/dev/urandom of=/dev/null, none of the file (input/output) reports fdinfo seek position, therefore progress can't report anything. I'll think about adding a message in this case.

Xfennec avatar Oct 13 '16 14:10 Xfennec