1 --- cdrecord-1.8/include/deflts.h.redhat Sat Dec 5 08:04:18 1998
2 +++ cdrecord-1.8/include/deflts.h Mon Sep 20 11:38:23 1999
7 -#define DEFLT "/etc/default"
11 * cmd's to defltcntl()
12 --- cdrecord-1.8/doc/cdrecord.man.redhat Tue Sep 7 12:56:07 1999
13 +++ cdrecord-1.8/doc/cdrecord.man Mon Sep 20 11:39:18 1999
15 try the -
\b-s
\bsc
\bca
\ban
\bnb
\bbu
\bus
\bs option of c
\bcd
\bdr
\bre
\bec
\bco
\bor
\brd
\bd described below.
18 - If a file /etc/default/cdrecord exists, the parameter to
19 + If a file /etc/cdrecord.conf exists, the parameter to
20 the d
\bde
\bev
\bv=
\b= option may also be a drive name label in said
21 file (see FILES section).
24 If the argument to the d
\bde
\bev
\bv=
\b= option does not contain
25 the characters ',', '/', '@' or ':', it is inter
26 preted as an label name that may be found in the
27 - file /etc/default/cdrecord (see FILES section).
28 + file /etc/cdrecord.conf (see FILES section).
30 t
\bti
\bim
\bme
\beo
\bou
\but
\bt=
\b=_
\b#
31 Set the default SCSI command timeout value to _
\b#.
33 This may either hold a device identifier that is
34 suitable to the open call of the SCSI transport
35 library or a label in the file
36 - /etc/default/cdrecord.
40 Sets the default speed value for writing (see also
45 - /etc/default/cdrecord
47 Default values can be set for the following options
48 - in /etc/default/cdrecord. For example: CDR_FIFOS
49 + in /etc/cdrecord.conf. For example: CDR_FIFOS
53 This may either hold a device identifier
54 that is suitable to the open call of the
55 SCSI transport library or a label in the
56 - file /etc/default/cdrecord that allows to
57 + file /etc/cdrecord.conf that allows to
58 identify a specific drive on the system.
61 --- cdrecord-1.8/cdrecord/cdrecord.1.redhat Tue Sep 7 09:46:06 1999
62 +++ cdrecord-1.8/cdrecord/cdrecord.1 Mon Sep 20 11:38:23 1999
67 -If a file /etc/default/cdrecord exists, the parameter to the
68 +If a file /etc/cdrecord.conf exists, the parameter to the
70 option may also be a drive name label in said file (see FILES section).
74 option does not contain the characters ',', '/', '@' or ':',
75 it is interpreted as an label name that may be found in the file
76 -/etc/default/cdrecord (see FILES section).
77 +/etc/cdrecord.conf (see FILES section).
80 Set the default SCSI command timeout value to
84 This may either hold a device identifier that is suitable to the open
85 -call of the SCSI transport library or a label in the file /etc/default/cdrecord.
86 +call of the SCSI transport library or a label in the file /etc/cdrecord.conf.
89 Sets the default speed value for writing (see also
94 -/etc/default/cdrecord
95 -Default values can be set for the following options in /etc/default/cdrecord.
97 +Default values can be set for the following options in /etc/cdrecord.conf
104 This may either hold a device identifier that is suitable to the open
105 -call of the SCSI transport library or a label in the file /etc/default/cdrecord
106 +call of the SCSI transport library or a label in the file /etc/cdrecord.conf
107 that allows to identify a specific drive on the system.
110 --- cdrecord-1.8/cdrecord/defaults.c.redhat Sun Apr 18 14:04:16 1999
111 +++ cdrecord-1.8/cdrecord/defaults.c Mon Sep 20 11:38:23 1999
114 #include "cdrecord.h"
116 +#define DEFAULT_CONFIG "/etc/cdrecord.conf"
118 EXPORT void cdr_defaults __PR((char **devp, int *speedp, long *fsp));
119 LOCAL void cdr_xdefaults __PR((char **devp, int *speedp, long *fsp));
120 LOCAL char * strsv __PR((char* s));
123 *devp = getenv("CDR_DEVICE");
125 - if (defltopen("/etc/default/cdrecord") == 0) {
126 + if (defltopen(DEFAULT_CONFIG) == 0) {
127 dev = defltread("CDR_DEVICE=");
131 char *p = getenv("CDR_SPEED");
134 - if (defltopen("/etc/default/cdrecord") == 0) {
135 + if (defltopen(DEFAULT_CONFIG) == 0) {
136 p = defltread("CDR_SPEED=");
140 char *p = getenv("CDR_FIFOSIZE");
143 - if (defltopen("/etc/default/cdrecord") == 0) {
144 + if (defltopen(DEFAULT_CONFIG) == 0) {
145 p = defltread("CDR_FIFOSIZE=");
151 sprintf(dname, "%s=", p);
152 - if (defltopen("/etc/default/cdrecord") != 0)
153 + if (defltopen(DEFAULT_CONFIG) != 0)
156 p = defltread(dname);
157 --- cdrecord-1.8/cdrecord/cdrecord.dfl.redhat Sun Dec 6 06:24:01 1998
158 +++ cdrecord-1.8/cdrecord/cdrecord.dfl Mon Sep 20 11:38:23 1999
160 #ident @(#)cdrecord.dfl 1.1 98/12/06 Copyr 1998 J. Schilling
162 -# This file is /etc/default/cdrecord
163 +# This file is /etc/cdrecord.conf
164 # It contains defaults that are used if no command line option
165 # or environment is present.
169 # drive name device speed fifosize
172 -panasonic= 1,4,0 -1 -1
176 +#panasonic= 1,4,0 -1 -1
177 +#yamaha= 1,5,0 -1 -1