Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no progress output for dd to /dev/null #79

Open
patrickdepinguin opened this issue Oct 4, 2016 · 3 comments
Open

no progress output for dd to /dev/null #79

patrickdepinguin opened this issue Oct 4, 2016 · 3 comments

Comments

@patrickdepinguin
Copy link

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
Copy link
Author

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

@ghost
Copy link

ghost commented Oct 4, 2016

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

@Xfennec
Copy link
Owner

Xfennec commented Oct 13, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants