Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I've seen this question on how to backup a SD-card. It's the same solution I would come up myself, that is basically dd if=/dev/blabla of=/home/user/some_file.img. But my question is if using the argument bs=1M makes any difference. It does when I'm writing to the card so I suppose it does when I'm reading from it. Are my assumption correct? In the question I referred to earlier it differs in different answers.

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

From Wikipedia:

A block is a unit measuring the number of bytes that are read, written, or converted at one time.

...

For some uses of the dd command, block size may have an effect on performance. For example, when recovering data from a hard disk, a small block size will generally cause the most bytes to be recovered. For greater speed during copy operations, a larger block size may be used. When dd is used for network transfers, the block size may have an impact on packet size, depending on the network protocol used.

share|improve this answer
    
Oh! I suppose this site has a rule of not writing stuff like RTFM, but am I allowed to say that to myself? :-p –  Niclas Nilsson Nov 26 '12 at 20:15
2  
@NiclasNilsson It's fine. Sometimes we all need to be pointed in the right direction. And lots of people will learn something extra (myself included). –  Jivings Nov 26 '12 at 20:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.