more dd

andersons001 at hawaii.rr.com andersons001 at hawaii.rr.com
Sun Apr 15 17:26:30 PDT 2001


Reference the dd command to copy a .img file to a floppy. The bs argument specifies
the blocksize. (bs=n Sets both input and output block size). You need not specify
the block size. Unlike some OSs, the *nixes offer many ways to do one task.
So you may use cp or dd to make a copy of a floppy.

Now try this:
mkdir /mnt/cdimage
dd if=/dev/cdrom of=/tmp/mycd.iso
mount /tmp/mycd.iso /mnt/cdimage -t iso9660 -o ro,loop=/dev/loop0,blocksize=2048


You do not need any special software to make a CD image.  All you need is "dd".
 Now after running dd, go ahead and remove the CD.  Then run the mount command.
 You have a complete replica of the CD in /mnt/cdimage. Now you can have a virtual
CD jukebox!!!



More information about the LUAU mailing list