News for hackers. Stuff that matters.
Re:Dd is not a disk writing tool (2015) by pixelbeat on Sunday January 08, 2017 @11:42AM (#13350536)
Yes this is true. Note BSD supports this better with Ctrl-T to generate SIGINFO, which one can send to any command even if not supported, in which case it's ignored. Using kill on linux, and having that kill processes by default is decidedly more awkward.

It's also worth noting the separate "progress" project which can be used to give the progress of running file based utilities.

We generally have pushed back on adding progress to each of the coreutils for these reasons, but the low overhead of implementation and high overlap with existing options was deemed enough to warrant adding this to dd

Re:Dd is not a disk writing tool (2015) by gkya on Sunday January 08, 2017 @04:49PM (#13352242)
Also a gotcha on BSD (FBSD at least): SIGUSR1 kills dd.
Re:Dd is not a disk writing tool (2015) by stuaxo on Sunday January 08, 2017 @05:22PM (#13352412)
Ctrl-T for SIGINFO is pretty useful, it would be good if Linux could pick this up.
Re:Dd is not a disk writing tool (2015) by circuit_breaker on Sunday January 08, 2017 @06:05PM (#13352629)
Been waiting for years, frankly. I guess if I was motivated enough and had the time, I could do the research and submit patches..
Re:Dd is not a disk writing tool (2015) by feld on Sunday January 08, 2017 @07:53PM (#13353181)
They don't want it. Even if you got the patches accepted to the kernel they'd never accept patches to GNU Coreutils to support it.
Re:Dd is not a disk writing tool (2015) by feld on Monday January 09, 2017 @03:04PM (#13359345)
The most recent comment I've seen on this is lukewarm at best: http://lkml.iu.edu/hypermail/linux/kernel/1411.0/03374.html
Re:Dd is not a disk writing tool (2015) by floatboth on Monday January 09, 2017 @07:28AM (#13355826)
> in which case it's ignored

Ignored by the application, sure. But FreeBSD always prints useful stuff like load, current command, its pid and state:

$ dd if=/dev/random of=/dev/null

load: 0.72 cmd: dd 5820 [running] 0.70r 0.02u 0.68s 6% 2008k

263276+0 records in

263276+0 records out

134797312 bytes transferred in 0.708372 secs (190291809 bytes/sec)

(here, the "load:..." line is from the system, and the other 3 lines are from dd)