LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-19-2009, 03:47 AM   #1
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Rep: Reputation: 15
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
 
Old 03-19-2009, 07:51 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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" ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 11:50 AM
LXer: Questions Answered, Questions Posed - What Happened? LXer Syndicated Linux News 0 05-14-2007 02:46 PM
swaret, questions, questions!! BashTin Slackware 11 04-26-2007 03:37 AM
Solaris - Questions! Questions! Questions! qs_tahmeed Solaris / OpenSolaris 2 07-16-2005 05:27 AM
window manager questions and/or theme questions t3gah Linux - Software 2 02-27-2005 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration