< Day Day Up > |
Recipe 11.6. Copying a CD or DVD11.6.1 ProblemYou need to make copies of CDs or DVDs—data, audio, video, or any format. 11.6.2 SolutionTo directly copy from the source disc to the recordable disc, use this command: $ cdrecord -v dev=0,1,0 -isosize /dev/scd0 This is fast, but risky, because any interruption to the data stream will spoil the entire copy. It's better to cache it to a hard drive first. This example makes a dummy run first: $ dd if=/dev/scd0 of=/tmp/diskfile.iso $ cdrecord dev=0,1,0 fs=8m -v -eject -dummy /tmp/diskfile.iso Simply delete the -dummy flag to write to disc. 11.6.3 DiscussionRemember that the 2.6 kernel doesn't need IDE-SCSI—just use the /dev name: # cdrecord dev=/dev/hdc <commands> Don't forget that you'll need a tmp file as large as the disc you're copying. The dd command does a literal, byte-by byte copy. Its components are:
The cdrecord options are the same as in Recipe Recipe 11.4, with two new ones:
11.6.4 See Also
|
< Day Day Up > |