]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/burncd/burncd.8
This commit was generated by cvs2svn to compensate for changes in r96295,
[FreeBSD/FreeBSD.git] / usr.sbin / burncd / burncd.8
1 .\"
2 .\" Copyright (c) 2000,2001,2002 Søren Schmidt <sos@FreeBSD.org>
3 .\" All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer,
10 .\"    without modification, immediately at the beginning of the file.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\"    notice, this list of conditions and the following disclaimer in the
13 .\"    documentation and/or other materials provided with the distribution.
14 .\" 3. The name of the author may not be used to endorse or promote products
15 .\"    derived from this software without specific prior written permission.
16 .\"
17 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 .\"
28 .\" $FreeBSD$
29 .\"
30 .Dd December 4, 2001
31 .Os
32 .Dt BURNCD 8
33 .Sh NAME
34 .Nm burncd
35 .Nd control the ATAPI CD-R/RW driver
36 .Sh SYNOPSIS
37 .Nm
38 .Op Fl delmnpqtv
39 .Op Fl f Ar device
40 .Op Fl s Ar speed
41 .Op Ar command
42 .Op Ar command Ar
43 .Sh DESCRIPTION
44 The
45 .Nm
46 utility is used to burn CD-R/RW media using the ATAPI cd driver.
47 .Pp
48 Available options and operands:
49 .Pp
50 .Bl -tag -width XXXXXXXXXXXX
51 .It Fl d
52 burn the CD-R/RW in DAO (disk at once) mode.
53 .It Fl e
54 eject the media when done.
55 .It Fl f Ar device
56 set the device to use for the burning process.
57 .It Fl l
58 read a list of image files from filename.
59 .It Fl m
60 close disk in multisession mode (otherwise disk is closed as singlesession).
61 .It Fl n
62 do not write gaps between data tracks in DAO mode.
63 .It Fl p
64 use preemphasis on audio tracks.
65 .It Fl q
66 quiet, do not print progress messages.
67 .It Fl s Ar speed
68 set the speed of the burner device.
69 Defaults to 1.
70 .It Fl t
71 test write, do not actually write on the media.
72 .It Fl v
73 verbose, print extra progress messages.
74 .El
75 .Pp
76 .Ar command
77 may be one of:
78 .Pp
79 .Bl -tag -width XXXXXXXXXXXX
80 .It Cm msinfo
81 Show the first LBA of the last track on the media
82 and the next writeable address on the media for use with the
83 .Xr mkisofs 8 Ns 's
84 .Fl C
85 switch when adding additional data to ISO filesystems with extra sessions.
86 .It Cm blank
87 Blank a CD-RW medium.
88 This uses the fast blanking method, so data are not physically overwritten,
89 only those areas that make the media appear blank for further usage are erased.
90 .It Cm erase
91 Erase a CD-RW medium.
92 This erases the entire media.
93 Can take up to 1 hour to finish.
94 .It Cm fixate
95 Fixate the medium so that the TOC is generated and the media can be used
96 in an ordinary CD drive.
97 The driver defaults to creating singlesession media (see
98 .Fl m
99 option).
100 Should be the last command to
101 .Nm
102 as the program exits when this has been done.
103 Ignored in DAO mode (see
104 .Fl d
105 option).
106 .It Cm raw | audio
107 Set the write mode to produce audio (raw mode) tracks for the following
108 images on the command line.
109 .It Cm data | mode1
110 Set the write mode to produce data (mode1) tracks for the following
111 image files
112 on the command line.
113 .It Cm mode2
114 Set the write mode to produce data (mode2) tracks for the following
115 image files
116 on the command line.
117 .It Cm XAmode1
118 Set the write mode to produce data (XAmode1) tracks for the following image
119 files on the command line.
120 .It Cm XAmode2
121 Set the write mode to produce data (XAmode2) tracks for the following image
122 files on the command line.
123 .It Cm vcd
124 Set the write mode to produce VCD/SVCD tracks for the following image files
125 on the command line.
126 This automatically sets DAO
127 .Pq Fl d
128 and
129 .Dq "no gaps"
130 .Pq Fl n
131 modes.
132 .It Ar file
133 All other arguments are treated as filenames of images to write to the media,
134 or in case the
135 .Fl l
136 option is used as files containing lists of images.
137 .El
138 .Pp
139 Files whose length are not a multiple of the current media blocksize are
140 quietly zero padded to fit the blocksize requirement.
141 The conventional filename
142 .Fl
143 refers to stdin, and can only be used once.
144 .Sh EXAMPLES
145 The typical usage for burning a data CD-R:
146 .Pp
147 .Dl "burncd -f /dev/acd0c data file1 fixate"
148 .Pp
149 The typical usage for burning an audio CD-R:
150 .Pp
151 .Dl "burncd -f /dev/acd0c audio file1 file2 file3 fixate"
152 .Pp
153 The typical usage for burning an audio CD-R in DAO mode:
154 .Pp
155 .Dl "burncd -f /dev/acd0c -d audio file1 file2 file3"
156 .Pp
157 The typical usage for burning a mixed mode CD-R:
158 .Pp
159 .Dl "burncd -f /dev/acd0c data file1 audio file2 file3 fixate"
160 .Pp
161 The typical usage for burning from a compressed image file on stdin:
162 .Pp
163 .Dl "gunzip -c file.iso.gz | burncd -f /dev/acd0c data - fixate"
164 .Pp
165 In the examples above, the files burned to data CD-Rs are assumed to
166 be ISO9660 filesystems.
167 .Xr mkisofs 8 ,
168 available in the
169 .Fx
170 Ports Collection, is commonly used to create ISO9660 filesystem images
171 from a given directory tree.
172 .Sh BUGS
173 Probably, please report when found.
174 .Sh HISTORY
175 The
176 .Nm
177 command appeared in
178 .Fx 4.0 .
179 .Sh AUTHORS
180 The
181 .Nm
182 command and this manpage was contributed by
183 .An S\(/oren Schmidt ,
184 Denmark
185 .Aq sos@FreeBSD.org .