LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Questions about dd (https://www.linuxquestions.org/questions/linux-general-1/questions-about-dd-712742/)

khaos83 03-19-2009 03:47 AM

Questions about dd
 
Hi

I'm reading up the usage of dd and is unclear about the use of bs option.

http://www.linuxquestions.org/questi...ommand-362506/

It shows how to copy a floppy into a image file.
80 cylinders (numbered 0 to 79), 2 heads (numbered 0 to 1) and 18 sectors (numbered 1 to 18).
What are the differences between the 3 commands?
Do they exactly do the same thing or give the identical output?

Code:

dd if=/dev/fd0 of=/home/sam/floppy.image conv=notrunc
dd if=/dev/fd0 of=/home/sam/floppy.image bs=2x80x18b conv=notrunc
dd if=/dev/fd0 of=/home/sam/floppy.image bs=512


tredegar 03-19-2009 07:51 PM

You have given us a link to a thread with over 500 posts. Most of us don't have the time or inclination to read it all.

If something as trivial as "how to copy a floppy into a image file" is "unclear", perhaps you could answer your question yourself by doing some experiments. You already have the commands to try.

Try those commands ( Hint: they won't work if your username isn't sam ). Test them. You'll learn that way.

Is this "homework" ?


All times are GMT -5. The time now is 06:05 PM.