6 ms·
Careful, your #2 and #3 are incorrect -- skip and seek operate with blocks, not bytes. So your #2 would copy 32 bytes after the first 32kB of data, and #3 would
by photon-torpedo 4y ago
Careful, your #2 and #3 are incorrect -- skip and seek operate with blocks, not bytes. So your #2 would copy 32 bytes after the first 32kB of data, and #3 would write 512 bytes at position 5120k.
- _flux 4y agoBtw, there are iflags in Gnu dd to work in bytes as well. I have ddbytes aliased to dd iflag=count_bytes,skip_bytes oflag=seek_bytes .
- dredmorbius 4y agoThanks. Most of that was from memory and not tested. The specific recipies should be vetted. The stated goals can be achieved with proper invocation.