The 12 Days of dd: Day Two
- Details
- Category: Blog
- Published on Friday, 26 December 2008 16:33
- Written by Brian Dykstra
- Hits: 437
On the second day of dd, we learn about floppies and dd!
Here are the basics for copying a floppy disk. Floppy disks are great for practicing on. No chance of hurting your system.
The basic command is:
# dd if=/dev/fd0 of=/storage/floppy.img
The example assumes that your floppy drive is /dev/fd0 and that you have a directory on your system named /storage that is suitable for copy an image into. Now for the specifics of what just happened.
if - Specifies the input file to be read
of - Specifies the output file to be written
Writing the image back to another floppy disk goes like this:
# dd if=/storage/floppy.img of=/mnt/floppy
Doesn't get much simpler than that.
On the third day of dd, how to copy data from a hard drive with dd.















