On Mon, 2003-01-06 at 17:26, Jianping Zhu wrote: > Thank you very much for your advice > can you give me some more specific advice how to data a cd in commnand > line ?
You bet. First make sure you have the following installed:
cdrecord
mkisofs
Then try the following:
$ mkisofs -R -o cdimage.iso <directory>
You can then mount cdimage.iso just like a regular filesystem:
$ mount cdimage.iso -r -t iso9660 -o loop /mnt/cdrom
$ ls -l /mnt/cdrom
$ umount /mnt/cdrom
To burn the image to CD, do this (I usually do this part as root so that
cdrecord is able to set the priority on the process - if someone knows a
better way, I'd like to hear it):
# cdrecord -scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 J?rg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) 'MITSUMI' 'CR-4804TE' '2.6C' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
You can see that my CD-RW is device 0,0,0 so I use:
# cdrecord dev=0,0,0 cdimage.iso
All done =) You can find all of this information by typing 'man
cdrecord' at the prompt. Take a look at the 'Examples' section to cut
to the heart of the matter.
--
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308 (800) 735-0555 x308
signature.asc
Description: This is a digitally signed message part
