this post was submitted on 24 Mar 2026
4 points (100.0% liked)

Hacker News

4588 readers
419 users here now

Posts from the RSS Feed of HackerNews.

The feed sometimes contains ads and posts that have been removed by the mod team at HN.

Source of the RSS Bot

founded 2 years ago
MODERATORS
top 1 comments
sorted by: hot top controversial new old
[–] nous@programming.dev 2 points 6 days ago

That just makes your writes to the disk more efficient because of block alignment and caching nonsense.

This is not true. The reason to use dd is to be able to write a fixed amount from any location in the source to any location in the destination. You have lots of control how this happens. But the way everyone uses it, to write a whole file to another whole file it offers no benefit. If anything you have to tune the prams to get decent performance out of it. Any other copy tool uses a better block size by default and so all you can do is match the performance of other copy commands like bash redirection and cp.