When I have to use dd (if I can, I use dc3dd) I try to remember to include option status=progress to have a progress indicator. Last time on a Linux machine, I forgot to include that option. Reading the man page for a solution, I found this: I could get a progress indication, without having to restart dd with the missing status option, by sending it the sigusr1 signal (on Linux).
Didier Stevens |
DidierStevens 638 Posts ISC Handler Jul 7th 2018 |
Thread locked Subscribe |
Jul 7th 2018 3 years ago |
Such a great tip! Again... waiting right in front of our eyes, on the man page all along. Thanks.
|
BerliN12459 2 Posts |
Quote |
Jul 7th 2018 3 years ago |
nice tip. I like pv also. dd if=/xxx | pv | dd of=/yyy
|
Anonymous |
Quote |
Jul 8th 2018 3 years ago |
Good tip! I was not familiar with pv.
|
DidierStevens 638 Posts ISC Handler |
Quote |
Jul 8th 2018 3 years ago |
This works really well so long as you remember to send the correct signal. Otherwise, it can be somewhat embarrassing to find out that your dd has somehow died (*cough* caught a kill signal)
I may or may not have done this before... ![]() |
Anonymous |
Quote |
Jul 8th 2018 3 years ago |
Thanks for the tip! I too found pv because I couldn't achieve progress with dd.
|
Beau 3 Posts |
Quote |
Jul 9th 2018 3 years ago |
Quoting Anonymous:nice tip. I like pv also. dd if=/xxx | pv | dd of=/yyy Useless use of dd! </xxx pv >/yyy |
Anonymous |
Quote |
Jul 9th 2018 3 years ago |
Sign Up for Free or Log In to start participating in the conversation!