Sample Header Ad - 728x90

Why specify block size when copying devices of a finite size?

27 votes
5 answers
51875 views
In online tutorials it is often suggested to use the following command to copy a CDROM to an ISO image: $ dd if=/dev/dvd of=foobar.iso bs=2048 Why must the block size be specified? I noticed that in fact 2048 is the [standard logical block size for CDROM images](https://www.thomas-krenn.com/en/wiki/Create_an_ISO_Image_from_a_source_CD_or_DVD_under_Linux) but it seems that dd without specifying bs= or count= works as well. **Under what circumstances would it be problematic to _not_ specify bs= or count= when copying from a device of finite size?**
Asked by dotancohen (16493 rep)
Mar 9, 2015, 02:02 PM
Last activity: Oct 18, 2023, 01:20 PM