News for hackers. Stuff that matters.
Re:On overwriting disks (on OpenBSD 7.0-current) by anjbe on Thursday March 03, 2022 @10:57PM (#30550525)
OpenBSD’s dd(1) natively supports printing status with SIGINFO. If you run “stty status ^T”, then during dd you can press Ctrl-T to get an informational message including progress and rate of transfer.

    $ dd if=/dev/zero of=/dev/null
    load: 0.27  cmd: dd 2358 [running] 0.37u 0.65s 1% 99k
    528102+0 records in
    528101+0 records out
    270387712 bytes transferred in 1.051 secs (257262549 bytes/sec)
    load: 0.27  cmd: dd 2358 [running] 1.00u 1.93s 10% 109k
    1467936+0 records in
    1467935+0 records out
    751582720 bytes transferred in 2.930 secs (256426100 bytes/sec)
    load: 0.32  cmd: dd 2358 [running] 1.68u 3.12s 19% 109k
    2424899+0 records in
    2424899+0 records out
    1241548288 bytes transferred in 4.834 secs (256784572 bytes/sec)
Re:On overwriting disks (on OpenBSD 7.0-current) by hddqsb on Friday March 04, 2022 @02:01AM (#30551550)
GNU dd has a similar feature, it prints the status on SIGUSR1. There is no keyboard shortcut though, so you'd have to open another terminal and run `pkill -USR1 -x dd`.
Re:On overwriting disks (on OpenBSD 7.0-current) by saagarjha on Friday March 04, 2022 @01:30AM (#30551363)
This is one of the niceties that macOS happens to inherit from the BSDs.