cdrecord issue

Robert kerplop at sbcglobal.net
Sun Dec 5 14:35:11 UTC 2004


Christian Del Pino wrote:
> Thank you for your help Alexander, that did it!
> 
> I did notice something strange in my cdrecord.conf file. This is what I
> had:
> 
> CDR_DEVICE=cdrom
> cdrom=		/dev/cdrom	-1	-1	burnfree
> 
> It seemed strange to me because you mentioned /dev/hdX, where in k3b,
> the device is listed as /dev/hdc.
> 
> What I typed in that made it work was cdrecord dev=cdrom, as in my
> cdrecord.conf file. Now my question, is my conf file wrong, or do I need
> to reconfigure that cd burning apps with the correct device name?
> 
> Does /etc/fstab have anything with the device name of the cdrom also?
> 
<snip>

No, /etc/fstab is only used when mounting.  CD's and DVD's of all 
varieties are written when not mounted.   The confusion(?) over device 
names comes from the /dev files.  As you can see below, cdrom is a link 
to hdc on my machine (and from your discovery above, yours too). Also, 
notice that there are a number of devices treated this way.

[root at mavis ~]# ls -l /dev | grep ^l
lrwxrwxrwx   1 root root          3 Nov 30 03:54 cdrom -> hdc
lrwxrwxrwx   1 root root          3 Nov 30 03:54 cdrom1 -> hdd
lrwxrwxrwx   1 root root          3 Nov 30 03:54 cdwriter -> hdc
lrwxrwxrwx   1 root root         11 Nov 30 03:54 core -> /proc/kcore
lrwxrwxrwx   1 root root          3 Nov 30 03:54 dvd -> hdc
lrwxrwxrwx   1 root root          3 Nov 30 03:54 dvd1 -> hdd
lrwxrwxrwx   1 root root          3 Nov 30 03:54 dvdwriter -> hdc
lrwxrwxrwx   1 root root         13 Nov 30 03:54 fd -> /proc/self/fd
lrwxrwxrwx   1 root root          3 Nov 30 09:54 floppy -> fd0
lrwxrwxrwx   1 root root         13 Nov 30 03:54 MAKEDEV -> /sbin/MAKEDEV
lrwxrwxrwx   1 root root          3 Nov 30 09:54 par0 -> lp0
lrwxrwxrwx   1 root root         20 Nov 30 09:54 ptal-printd -> 
/var/run/ptal-printd
lrwxrwxrwx   1 root root          4 Nov 30 03:54 ram -> ram1
lrwxrwxrwx   1 root root          4 Nov 30 03:54 ramdisk -> ram0
lrwxrwxrwx   1 root root         15 Nov 30 03:54 stderr -> /proc/self/fd/2
lrwxrwxrwx   1 root root         15 Nov 30 03:54 stdin -> /proc/self/fd/0
lrwxrwxrwx   1 root root         15 Nov 30 03:54 stdout -> /proc/self/fd/1
lrwxrwxrwx   1 root root          4 Nov 30 03:54 systty -> tty0
lrwxrwxrwx   1 root root          4 Nov 30 09:54 tape -> nst0
lrwxrwxrwx   1 root root          5 Nov 30 09:54 tape1 -> nst0a
lrwxrwxrwx   1 root root          5 Nov 30 09:54 tape2 -> nst0l
lrwxrwxrwx   1 root root          5 Nov 30 09:54 tape3 -> nst0m
lrwxrwxrwx   1 root root          4 Nov 30 03:54 XOR -> null
[root at mavis ~]#




More information about the fedora-list mailing list