Threat Level: green Handler on Duty: Brad Duncan

SANS ISC: dd progress indicator on OSX - SANS Internet Storm Center SANS ISC InfoSec Forums


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

Unfortunately, dd on OSX has no status option:

But it reacts to signals too, like dd on Linux. It's another signal however: siginfo.

And signal siginfo is coupled to key-combination CTRL-T. No need to use kill, you can just type CTRL-T in the terminal window where dd is running:

Didier Stevens
Senior handler
Microsoft MVP
blog.DidierStevens.com DidierStevensLabs.com

DidierStevens

289 Posts
ISC Handler
> Unfortunately, dd on OSX has no status option

Fortunately, dd on OSX has no *linux*-equivalent dd option, because it came from FreeBSD, where it's had the SIGUSR1/SIGINT option since August 7, 1991 ;)

https://www.freebsd.org/cgi/man.cgi?query=dd&apropos=0&sektion=0&manpath=FreeBSD+1.0-RELEASE&arch=default&format=html

Was linux in public existence then?

It appears not: https://en.wikipedia.org/wiki/History_of_Linux
On 25 August 1991, he (at age 21) announced this system in a Usenet posting to the newsgroup "comp.os.minix."

Why did they re-invent the wheel in the first place is a better question ;)
NiftyLittleThings

3 Posts
OSX uses the BSD version of dd, the status extension has been added in FreeBSD and OpenBSD but well after OSX forked. NetBSD still doesn't have it https://www.unix.com/man-page/netbsd/1/dd/

You (like many people) are probably used to the GNU variant.
UnknownNick

11 Posts

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