Help - Search - Members - Calendar
Full Version: Copying Files Onto Cdrom Using Unix Commands
Linuxhelp > Support > Programming in Linux
jetpacmidge
I am new to using SUSE linux 9.0 I am having difficulty in copying files from a directory onto a CDROM using UNIX commands.
So far I have been able to mount the CDROM and view the files on the CDROM. When I try to copy files onto the CDROM, they are stored in the directory /media/cdrom and not on the CDROM.

The commands I have been using are as follows :-

mount -o rw -f dev/cdrom

cp -R Tadburn (directory) /media/cdrom

When I type in the following command :-

more /etc/fstab

dev/cdrecorder /media/cdrecorder auto ro,auto,user,exec

dev/cdrom /media/cdrom auto ro,auto,user,exec

Any help to resolve my problem would be much appreciated.

Thanks.

Rgds,

Andy M.
DS2K3
CD-Rom = Comapact Disk - READ ONLY Memory

I guess you eman CD-R - However, you cant jsut copy files onto a CD - they are not random access like hard disks or floppy disks. Use a program like "k3b" to burn CDs, just like you would use Nero etc. on Windows.

D
michaelk
Futhermore, linux does not use the /etc/fstab file for writing to a CD ie. it writes to the actual device. cdrecord is the command line application for writing to a CD.

so a typical cdrecord command line would look like:
cdrecord -v speed=24 -dev=ATA:1,0,0 cd.image (2.6 kernel)
cdrecord -v speed=24 -dev=1,0,0 cd.image (2.4 kernel)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.