[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SLUG] CD burn, GCC - redhat 6.2, Java



On Fri, 1 Dec 2000, Ken Foskey wrote:

> a)  Does anyone have any good pointers on CD burning?  Especially
> binary copies
> of CD's.

Here is what I do to copy one CD to another, if thats what you mean.

Copy directly from once CD to another CD

	cdrecord -v speed=4 -dev=0,4,0 -isosize /dev/hdb

	Where /dev/hdb is the device to read from and -dev=0,4,0 is
	the SCSI device number to write to which can be found by

            # cat /proc/scsi/scsi
            Attached devices:
            Host: scsi0 Channel: 00 Id: 04 Lun: 00
            Vendor: PLEXTOR  Model: CD-R   PX-W4220T Rev: 1.01
            Type:   CD-ROM ANSI SCSI revision: 02A

To create ISO images I use

	mkisofs -a -A "Label" -J -L -d -o bigfile.iso
	-P "producer@nospam.domain.com" -p "yourname" -T -V "volume" -v
        /directory/root

To write it I use the cdrecord command.

To test the bigfile.iso before writing I mount it as a loopback device

	mount -t iso9660 -o ro,loop=/dev/loop0 cd_image /cdrom

Hope that helps somewhat. Just read the man pages for mkisofs and
cdrecord. I think there is also a FAQ about somewhere.

Rodos

-- 
rodos@nospam.haywood.org | Programming is like sex: one mistake and you have to
Camion Technology | support it for the rest of your life. [Michael Sinz]
+61 2 9873 5105   |



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug