Threat Level: green Handler on Duty: Didier Stevens

SANS ISC: dd progress indicator on Linux - Internet Security | DShield SANS ISC InfoSec Forums


Sign Up for Free!   Forgot Password?
Log In or Sign Up for Free!
dd progress indicator on Linux

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
Senior handler
Microsoft MVP
blog.DidierStevens.com DidierStevensLabs.com

DidierStevens

240 Posts
ISC Handler
Such a great tip! Again... waiting right in front of our eyes, on the man page all along. Thanks.
BerliN12459

1 Posts Posts
nice tip. I like pv also. dd if=/xxx | pv | dd of=/yyy
Anonymous
Posts
Good tip! I was not familiar with pv.
DidierStevens

240 Posts Posts
ISC Handler
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
Posts
Thanks for the tip! I too found pv because I couldn't achieve progress with dd.
Beau

3 Posts Posts
Quoting Anonymous:nice tip. I like pv also. dd if=/xxx | pv | dd of=/yyy


Useless use of dd!

</xxx pv >/yyy
Anonymous
Posts

Sign Up for Free or Log In to start participating in the conversation!