Difference in BSD and GNU dd commands making the block size capitalization important. Also, I discovered that OS X uses the /dev/diskXsN naming convention as apposed to the Linux /dev/diskXN naming convention.
Fix wrong dd block size notation for OS X with OS check
Fix wrong dd block size notation for OS X with OS check and add prope…
…r OS X parition name chopping
I think it would have been better to avoid the "m" and "M" and just use the value 1024*1024.
If you install GNU coreutils on OSX, this will break.
See the comments on 80887b0edc and my PR
This seems like a better idea