News for hackers. Stuff that matters.
Re:Comparing dd and cp when writing a file to a thumb drive by mortehu on Saturday January 27, 2024 @08:19AM (#39155308)
It's because reading and writing happen in separate processes, i.e. simultaneously instead of interleaved.

In general writing to disk is handled asynchronously by the kernel (`write` just copies to a buffer and returns), but metadata operations like creating files are not, so this should help the most for many small files.

There are no comments on this comment yet.