View Single Post
  #7   (View Single Post)  
Old 3rd December 2015
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Dutchman living in the UK
Posts: 2,196
Default

Quote:
Originally Posted by alex_b83 View Post
Is the size of dd output file always a multiple of bs?
If you add conv=sync:

Quote:
Pad every input block to the size of the ibs= buffer, appending null bytes. (If either block or unblock is also specified, append <space> characters, rather than null bytes.)
This is in POSIX so it can be reasonably expected to work on most platforms.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote