Here's a patch to /etc/default/cdrecord giving more universal defaults (new 
installs come with a /dev/cdrom link if applicable, right?) - some users 
still might need to tweak it, but I suspect it will work for more overall. As 
long as your CD recorder is detected properly and it gets seen before any 
plain CD-ROMs, this should work.

I also commented out the example entries, as they aren't used by default now.

Zack
--- cdrecord.orig	2005-01-31 18:19:04.259914744 -0500
+++ cdrecord	2005-01-31 18:22:10.789557928 -0500
@@ -6,7 +6,7 @@
 # 
 # The default device, if not specified elswhere
 #
-CDR_DEVICE=yamaha
+CDR_DEVICE=cdrom
 
 # 
 # The default speed, if not specified elswhere
@@ -33,9 +33,10 @@
 #
 # drive name	device	speed	fifosize driveropts
 #
-teac=		1,3,0	-1	-1	""
-panasonic=	1,4,0	-1	-1	""
-plextor=	1,4,0	-1	-1	""
-sanyo=		1,4,0	-1	-1	burnfree
-yamaha=		1,5,0	-1	-1	""
-cdrom=		0,6,0	2	1m	""
+#teac=		1,3,0	-1	-1	""
+#panasonic=	1,4,0	-1	-1	""
+#plextor=	1,4,0	-1	-1	""
+#sanyo=		1,4,0	-1	-1	burnfree
+#yamaha=	1,5,0	-1	-1	""
+#cdrom=		0,6,0	 2	1m	""
+cdrom=          /dev/cdrom      -1      -1      burnfree

Reply via email to