3 ms·
Why does every raspberry install recommend dd instead of the cp tool? Cp does the same thing and has a much better syntax.
by ekianjo 10y ago
Why does every raspberry install recommend dd instead of the cp tool? Cp does the same thing and has a much better syntax.
- snuxoll 10y agoGNU coreutils' version of `cp` supports copying to block devices, but not every other implementation does (busybox's doesn't, for example). `dd` is explicitly required to support block devices by the POSIX specification, `cp` is not.
- voltagex_ 10y agoAnd if you really get into using a lot of different images, https://source.tizen.org/documentation/reference/bmaptool https://source.tizen.org/documentation/reference/bmaptool is the way to go - uses sparse images correctly. https://github.com/01org/bmap-tools https://github.com/01org/bmap-tools is the maintained version.