Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I understand his point, but using 'dd' allows you to set a buffer size which can make cloning a bunch faster. It also has great progress reporting (status=progress) which is really useful for the things dd is usually used for.

And even if you use it without it being needed, it's not a big deal. It doesn't add much overhead, if any.



By the way, on versions that don't support status=progress (like busybox and the BSD versions), you can periodically send a USR1 signal to get a progress update.


Not sure about other BSDs, but FreeBSD and MacOS already support status=progress. Also ^T is much more convenient than SIGUSR1.


I thought FreeBSD didn't but indeed it was Alpine (which uses busybox instead of gnu-utils) indeed.

What I normally do is just do a 'watch -n 30 killall -USR1 dd' in another window which triggers regular progress updates :) That why I don't use ^T

I use FreeBSD also but indeed it supports it now.


On BSDs (and IIRC macOS) you want a SIGINFO not SIGUSR1, which can be sent by ^T.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: