2006-12-13 19:30:31 +00:00
|
|
|
.\" Hey, EMACS: -*- nroff -*-
|
|
|
|
.\" First parameter, NAME, should be all caps
|
|
|
|
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
|
|
|
.\" other parameters are allowed: see man(7), man(1)
|
2007-02-08 14:10:05 +00:00
|
|
|
.TH CDRSKIN 1 "February 8, 2007"
|
2006-12-13 19:30:31 +00:00
|
|
|
.\" Please adjust this date whenever revising the manpage.
|
|
|
|
.\"
|
|
|
|
.\" Some roff macros, for reference:
|
|
|
|
.\" .nh disable hyphenation
|
|
|
|
.\" .hy enable hyphenation
|
|
|
|
.\" .ad l left justify
|
|
|
|
.\" .ad b justify to both left and right margins
|
|
|
|
.\" .nf disable filling
|
|
|
|
.\" .fi enable filling
|
|
|
|
.\" .br insert line break
|
|
|
|
.\" .sp <n> insert n+1 empty lines
|
|
|
|
.\" for manpage-specific macros, see man(7)
|
|
|
|
.SH NAME
|
2007-02-08 21:09:10 +00:00
|
|
|
cdrskin \- burns preformatted data to CD-R, CD-RW, DVD-R, DVD-RW, DVD+RW,
|
|
|
|
DVD-RAM via libburn.
|
2006-12-13 19:30:31 +00:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B cdrskin
|
|
|
|
.RI [ options | track_source_addresses ]
|
|
|
|
.br
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.PP
|
|
|
|
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
|
|
|
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
|
|
|
.\" respectively.
|
|
|
|
.PP
|
2006-12-15 10:15:50 +00:00
|
|
|
\fBcdrskin\fP is a program that provides some of cdrecord's options
|
2007-02-08 21:09:10 +00:00
|
|
|
in a compatible way for CD media. With DVD it has its own ways.
|
2006-12-15 10:15:50 +00:00
|
|
|
You do not need to be superuser for its daily usage.
|
2006-12-13 19:30:31 +00:00
|
|
|
.PP
|
|
|
|
.B Overview of features:
|
|
|
|
.br
|
2007-02-01 20:14:01 +00:00
|
|
|
Blanking of CD-RW and DVD-RW.
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2006-12-21 21:46:58 +00:00
|
|
|
Burning of data or audio tracks to CD,
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2006-12-21 21:46:58 +00:00
|
|
|
either in versatile Track at Once mode (TAO)
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
or in Session at Once mode for seamless tracks.
|
|
|
|
.br
|
2007-02-01 20:14:01 +00:00
|
|
|
Multi session on CD (follow-up sessions in TAO only)
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2007-02-08 14:10:05 +00:00
|
|
|
and on DVD-RW or DVD-R (in Incremental write mode only).
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2007-02-08 14:10:05 +00:00
|
|
|
Single session on DVD-RW or DVD-R (Disk-at-once)
|
|
|
|
.br
|
|
|
|
or on overwriteable DVD+RW, DVD-RW, DVD-RAM.
|
2007-02-01 20:06:03 +00:00
|
|
|
.br
|
2007-02-01 20:14:01 +00:00
|
|
|
Bus scan, burnfree, speed options, retrieving media info, padding, fifo.
|
2006-12-21 21:46:58 +00:00
|
|
|
.br
|
2006-12-13 19:30:31 +00:00
|
|
|
See section EXAMPLES at the end of this text.
|
|
|
|
.PP
|
2006-12-14 10:22:17 +00:00
|
|
|
.B Track recording model:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2006-12-14 10:22:17 +00:00
|
|
|
The input-output entities which get processed are called tracks.
|
2006-12-15 10:15:50 +00:00
|
|
|
A \fBtrack\fP stores a stream of bytes.
|
2006-12-14 10:22:17 +00:00
|
|
|
.br
|
|
|
|
Each track is initiated by one track source address argument, which may either
|
|
|
|
be "-" for standard input or the address of a readable file. If no write mode
|
|
|
|
is given explicitely then one will be chosen which matches the peculiarities
|
2006-12-15 16:14:20 +00:00
|
|
|
of track sources and the state of the output media.
|
2006-12-13 19:30:31 +00:00
|
|
|
.PP
|
2006-12-15 16:14:20 +00:00
|
|
|
More than one track can be burned by a single run of cdrskin.
|
|
|
|
In the terms of the MMC standard all tracks written by the same run constitute
|
|
|
|
a \fBsession\fP.
|
|
|
|
.br
|
2007-02-03 18:46:42 +00:00
|
|
|
Some media types can be kept appendable so that further tracks can
|
2006-12-13 22:12:36 +00:00
|
|
|
be written to them in subsequent runs of cdrskin (see option -multi).
|
2006-12-13 19:30:31 +00:00
|
|
|
Info about the addresses of burned tracks is kept in a table of
|
|
|
|
content (TOC) on media and can be retrieved via cdrskin option -toc.
|
|
|
|
These informations are also used by the operating systems' CD-ROM read drivers.
|
2006-12-13 22:12:36 +00:00
|
|
|
.PP
|
|
|
|
In general there are two types of tracks: data and audio. They differ in
|
|
|
|
sector size, throughput and readability via the systems' CD-ROM drivers
|
2007-02-03 18:46:42 +00:00
|
|
|
resp. by music CD players. With DVD there is only type data.
|
2006-12-13 22:12:36 +00:00
|
|
|
.br
|
2006-12-15 10:15:50 +00:00
|
|
|
If not explicitely option -audio is given, then any track is burned as type
|
|
|
|
data, unless the track source is a file with suffix ".wav" or ".au" and has a
|
2006-12-13 22:12:36 +00:00
|
|
|
header part which identifies it as MS-WAVE resp. SUN Audio with suitable
|
|
|
|
parameters. Such files are burned as audio tracks by default.
|
|
|
|
.PP
|
|
|
|
While audio tracks just contain a given time span of acoustic vibrations,
|
|
|
|
data tracks may have an arbitray meaning. Nevertheless, ISO-9660 filesystems
|
|
|
|
are established as a format which can represent a tree of directories and
|
2006-12-15 10:15:50 +00:00
|
|
|
files on all major operating systems. Such filesystem images can be
|
2006-12-13 22:12:36 +00:00
|
|
|
produced by programs mkisofs or genisoimage. They can also be extended by
|
|
|
|
follow-up tracks if prepared properly. See the man pages of said programs.
|
|
|
|
cdrskin is able to fulfill the needs about their option -C.
|
|
|
|
.br
|
|
|
|
Another type of data track content are archive formats which originally
|
|
|
|
have been developed for magnetic tapes. Only formats which mark a detectable
|
2007-01-01 17:19:41 +00:00
|
|
|
end-of-archive in their data are suitable, though. Well tested are
|
2006-12-13 22:12:36 +00:00
|
|
|
the archivers afio and star. Not suitable seems GNU tar.
|
2006-12-13 23:24:23 +00:00
|
|
|
.PP
|
|
|
|
.B Recordable CD Media:
|
|
|
|
.br
|
|
|
|
CD-R can be initially written only once and eventually extended until they
|
|
|
|
get closed (or are spoiled because they are overly full). After that they are
|
2007-01-31 12:59:51 +00:00
|
|
|
read-only. Closing is done automatically unless option
|
|
|
|
.B -multi
|
|
|
|
is given which keeps the media appendable.
|
|
|
|
.br
|
|
|
|
There are two write modes,
|
|
|
|
.B -tao
|
|
|
|
and
|
|
|
|
.B -sao .
|
|
|
|
.br
|
|
|
|
-tao allows to use track source of unpredictable length (like stdin) and allows
|
|
|
|
to write further sessions to appendable media. -sao produces audio sessions
|
|
|
|
with seamless tracks but needs predicted track sizes and cannot append sessions
|
|
|
|
to media.
|
2006-12-13 23:24:23 +00:00
|
|
|
.br
|
|
|
|
CD-RW media can be blanked to make them re-usable for another
|
2007-01-01 17:19:41 +00:00
|
|
|
round of overwriting. Usually
|
|
|
|
.B blank=fast
|
|
|
|
is the appropriate option.
|
|
|
|
Blanking damages the previous content but does not
|
2006-12-13 23:24:23 +00:00
|
|
|
make it completely unreadable. It is no effective privacy precaution.
|
|
|
|
Multiple cycles of blanking and overwriting with random numbers might be.
|
2006-12-15 10:15:50 +00:00
|
|
|
.PP
|
2007-01-31 12:59:51 +00:00
|
|
|
.B Sequentially Recordable DVD Media:
|
|
|
|
.br
|
2007-02-08 14:10:05 +00:00
|
|
|
Currently only DVD-RW and DVD-R can be used for the Sequential recording model.
|
|
|
|
DVD-RW must be in state "Sequential Recording".
|
|
|
|
The media must be either blank or appendable.
|
|
|
|
Newly purchased DVD-RW and DVD-R media are in this state.
|
2007-01-31 12:59:51 +00:00
|
|
|
Used DVD-RW get into blank sequential state by option
|
|
|
|
.B blank=deformat_sequential .
|
|
|
|
.br
|
|
|
|
Incremental Streaming is the default write mode if it is offered by the media.
|
2007-02-06 19:19:54 +00:00
|
|
|
It may be selected explicitely by option
|
|
|
|
.B -tao
|
|
|
|
as it resembles much CD TAO by allowing track sources of
|
|
|
|
unpredicted length and to keep media appendable by option
|
2007-01-31 12:59:51 +00:00
|
|
|
.B -multi .
|
2007-02-06 19:19:54 +00:00
|
|
|
The only restriction towards CD-R[W] is the lack of support for -audio tracks.
|
2007-02-03 18:46:42 +00:00
|
|
|
Multiple tracks per session are permissible.
|
2007-01-31 12:59:51 +00:00
|
|
|
.br
|
2007-02-06 19:19:54 +00:00
|
|
|
The other write mode, DAO, has many restrictions. It does not work with
|
|
|
|
appendable media, allows no -multi and only a single track. The size of the
|
|
|
|
track needs to be known in advance. So either its source has to be a disk file
|
|
|
|
of recognizable size or the size has to be announced explicitely by options
|
|
|
|
.B tsize=
|
|
|
|
or
|
|
|
|
.B tao_to_sao_tsize= .
|
|
|
|
.br
|
|
|
|
DAO is the default mode for media which do not offer feature 21h Incremental
|
|
|
|
Streaming. It may also be selected explicitely by option
|
|
|
|
.B -sao .
|
|
|
|
.br
|
|
|
|
Program growisofs uses DAO on sequential DVD-R[W] media for maximum
|
|
|
|
DVD-ROM/-Video compatibility.
|
2007-02-03 18:46:42 +00:00
|
|
|
.PP
|
|
|
|
.B Overwriteable DVD Media:
|
|
|
|
.br
|
|
|
|
Currently only types DVD+RW, DVD-RW and DVD-RAM can be overwritten via cdrskin.
|
|
|
|
.br
|
|
|
|
DVD+RW and DVD-RAM media get treated as blank media regardless wether they
|
|
|
|
hold data or not. They need no special initial formatting.
|
|
|
|
Options -audio and -multi are not allowed. Only one track is allowed.
|
|
|
|
-toc does not return information about the media content.
|
|
|
|
Currently there is no difference between -sao and -tao. If ever, then -tao
|
|
|
|
will be the mode which preserves the current behavior.
|
|
|
|
.br
|
|
|
|
DVD-RW are sold in state "Sequential Recording". To become suitable for the
|
|
|
|
Overwriteable DVD recording model they need to get formatted to state
|
|
|
|
"Restricted Overwrite". Then they behave much like DVD+RW. This formatting
|
|
|
|
can be done by option
|
|
|
|
.B blank=format_overwrite .
|
|
|
|
.br
|
|
|
|
Several programs like dvd+rw-format, cdrecord, wodim, or cdrskin option
|
|
|
|
blank=deformat_sequential can bring a DVD-RW out of overwriteable state so
|
|
|
|
that it has to be formatted again. If in doubt, just give it a try.
|
2006-12-21 21:46:58 +00:00
|
|
|
.PP
|
2006-12-15 10:15:50 +00:00
|
|
|
.B Drive preparation and addressing:
|
|
|
|
.br
|
|
|
|
The drives, either CD burners or DVD burners, are accessed via addresses which
|
|
|
|
are specific to libburn and the operating system. Those addresses get listed
|
|
|
|
by a run of \fBcdrskin --devices\fP.
|
|
|
|
.br
|
|
|
|
On Linux, they are device files which traditionally do not offer
|
|
|
|
w-permissions for normal users. Because libburn needs rw-permission,
|
|
|
|
it might be only the superuser who is able to get this list without further
|
|
|
|
precautions.
|
|
|
|
.br
|
|
|
|
It is consensus that \fBchmod a+rw /dev/sg0\fP or \fBchmod a+rw /dev/hdc\fP
|
|
|
|
is less security sensitive than chmod u+s /usr/bin/cdrskin. The risk for the
|
|
|
|
drive is somewhat higher but the overall system is much less at stake.
|
|
|
|
.br
|
|
|
|
.PP
|
|
|
|
If you only got one CD capable drive then you may leave out cdrskin option
|
|
|
|
\fBdev=\fP. Else you should use this option to address the drive you want.
|
|
|
|
.br
|
|
|
|
cdrskin option dev= not only accepts the listed addresses but also
|
2006-12-18 12:29:20 +00:00
|
|
|
traditional cdrecord SCSI addresses which on Linux consist of three
|
2006-12-15 10:15:50 +00:00
|
|
|
numbers: Bus,Target,Lun. There is also a related address family "ATA" which
|
|
|
|
accesses IDE drives not under control of Linux SCSI drivers:
|
|
|
|
ATA:Bus,Target,Lun.
|
|
|
|
.br
|
|
|
|
See option -scanbus for getting a list of cdrecord style addresses.
|
|
|
|
.br
|
|
|
|
Further are accepted on Linux: links to libburn-suitable device files,
|
|
|
|
device files which have the same major and minor device number,
|
|
|
|
and device files which have the same SCSI address parameters (e.g. /dev/sr0).
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
.BI \-\-help
|
|
|
|
Show non-cdrecord compatible options.
|
|
|
|
.TP
|
|
|
|
.BI \-help
|
|
|
|
Show cdrecord compatible options.
|
|
|
|
.TP
|
|
|
|
.BI \-version
|
|
|
|
Print cdrskin id line, compatibility lure line, libburn version, cdrskin
|
|
|
|
version, version timestamp, build timestamp (if available), and then exit.
|
|
|
|
.PP
|
|
|
|
Alphabetical list of options which are intended to be compatible with
|
|
|
|
original cdrecord by Joerg Schilling:
|
|
|
|
.TP
|
|
|
|
.BI \-atip
|
|
|
|
Retrieve some info about media state. With CD-RW print "Is erasable".
|
2006-12-23 11:24:11 +00:00
|
|
|
With DVD media print "book type:" and a media type text.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \-audio
|
|
|
|
Announces that the subsequent tracks are to be burned as audio.
|
2006-12-14 10:22:17 +00:00
|
|
|
The source is supposed to be uncompressed headerless PCM, 44100 Hz, 16 bit,
|
2006-12-13 19:30:31 +00:00
|
|
|
stereo. For little-endian byte order (which is usual on PCs) use option
|
2006-12-18 12:29:20 +00:00
|
|
|
-swab. Unless marked explicitely by option -data, input files with suffix
|
|
|
|
.wav are examined wether they have a header in MS-WAVE format confirming
|
|
|
|
those parameters and eventually raw audio data get extracted and burned as
|
|
|
|
audio track. Same is done for suffix .au and SUN Audio.
|
2007-02-01 19:45:47 +00:00
|
|
|
.br
|
|
|
|
Option -audio may be used only with CD media and not with DVD.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI blank= type
|
2007-02-06 19:19:54 +00:00
|
|
|
Blank a CD-RW, a DVD-RW, or format a DVD+/-RW.
|
2007-01-01 17:19:41 +00:00
|
|
|
This is combinable with burning in the same run of cdrskin.
|
2006-12-13 19:30:31 +00:00
|
|
|
The type given with blank= selects the particular behavior:
|
|
|
|
.RS
|
|
|
|
.TP
|
|
|
|
help
|
|
|
|
Print this list of blanking types.
|
|
|
|
.TP
|
|
|
|
all
|
2007-01-31 12:59:51 +00:00
|
|
|
Blank an entire CD-RW or an unformatted DVD-RW.
|
2007-02-08 21:09:10 +00:00
|
|
|
(See also --prodvd_cli_compatible)
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
fast
|
2007-02-08 21:09:10 +00:00
|
|
|
Minimally blank an entire CD-RW or blank an unformatted DVD-RW.
|
|
|
|
(See also --prodvd_cli_compatible)
|
2007-01-01 17:19:41 +00:00
|
|
|
.TP
|
|
|
|
format_overwrite
|
2007-01-08 10:44:34 +00:00
|
|
|
Format a DVD-RW to "Restricted Overwrite". The user should bring some patience.
|
2007-01-31 12:59:51 +00:00
|
|
|
.br
|
|
|
|
(Note: blank=format_overwrite* are not original cdrecord options.)
|
2007-01-09 21:14:47 +00:00
|
|
|
.TP
|
|
|
|
format_overwrite_quickest
|
2007-01-10 21:07:48 +00:00
|
|
|
Like format_overwrite without creating a 128 MB trailblazer session.
|
2007-01-09 21:14:47 +00:00
|
|
|
Leads to "intermediate" state which only allows sequential write
|
|
|
|
beginning from address 0.
|
|
|
|
The "intermediate" state ends after the first session of writing data.
|
|
|
|
.TP
|
|
|
|
format_overwrite_full
|
2007-01-10 21:07:48 +00:00
|
|
|
For DVD-RW this is like format_overwrite but claims full media size
|
|
|
|
rather than just 128 MB.
|
2007-01-10 15:30:54 +00:00
|
|
|
Most traditional formatting is attempted. No data get written.
|
|
|
|
Much patience is required.
|
2007-01-10 21:07:48 +00:00
|
|
|
.br
|
2007-01-31 12:59:51 +00:00
|
|
|
This option treats already formatted media even if not option -force is given.
|
|
|
|
.br
|
2007-01-10 21:07:48 +00:00
|
|
|
For DVD+RW this is the only supported explicit formatting type. It provides
|
|
|
|
complete "de-icing" so no reader slips on unwritten data areas.
|
2007-01-31 12:59:51 +00:00
|
|
|
.TP
|
|
|
|
deformat_sequential
|
|
|
|
Like blank=all but with the additional ability to blank overwriteable DVD-RW.
|
|
|
|
This will destroy their formatting and make them sequentially recordable.
|
|
|
|
.br
|
2007-02-06 19:19:54 +00:00
|
|
|
(Note: blank=deformat_sequential* are not original cdrecord options.)
|
|
|
|
.TP
|
|
|
|
deformat_sequential_quickest
|
|
|
|
Like blank=deformat_sequential but blanking DVD-RW only minimally.
|
|
|
|
This is faster than full blanking but may yield media incapable of
|
|
|
|
Incremental Streaming (-tao).
|
2006-12-13 19:30:31 +00:00
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.BI \-checkdrive
|
|
|
|
Retrieve some info about the addressed drive.
|
|
|
|
Exits with non-zero value if the drive cannot be found and opened.
|
|
|
|
.TP
|
|
|
|
.BI \-dao
|
2007-02-06 19:19:54 +00:00
|
|
|
Alias for option -sao. Write CD in Session at Once mode
|
|
|
|
or DVD-R[W] in Disc-at-once mode.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \-data
|
|
|
|
Subsequent tracks are data tracks. This option is default and only needed
|
|
|
|
to mark the end of the range of an eventual option -audio.
|
|
|
|
.TP
|
|
|
|
.BI dev= target
|
2006-12-18 12:29:20 +00:00
|
|
|
Set the address of the drive to use. Valid are at least the
|
2006-12-15 16:14:20 +00:00
|
|
|
addresses listed with option --devices,
|
2006-12-15 10:15:50 +00:00
|
|
|
X,Y,Z addresses listed with option -scanbus,
|
|
|
|
ATA:X,Y,Z addresses listed with options dev=ATA -scanbus,
|
|
|
|
and volatile libburn drive numbers (numbering starts at "0").
|
2006-12-13 19:30:31 +00:00
|
|
|
Other device file addresses which lead to the same drive might work too.
|
|
|
|
.br
|
|
|
|
If no dev= is given, volatile address "dev=0" is assumed. That is the first
|
2006-12-15 10:15:50 +00:00
|
|
|
drive found being available. Better avoid this ambiguity on systems with more
|
|
|
|
than one drive.
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
The special target "help" lists hints about available addressing formats.
|
2006-12-15 10:15:50 +00:00
|
|
|
Be aware that deprecated option --old_pseudo_scsi_adr may change the meaning
|
|
|
|
of Bus,Target,Lun addresses.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI driveropts= opt
|
2007-01-30 22:01:10 +00:00
|
|
|
Set "driveropts=noburnfree" to disable the drive's eventual protection
|
|
|
|
mechanism against temporary lack of source data (i.e. buffer underrun).
|
|
|
|
A drive that announces no such capabilities will not get them enabled anyway,
|
|
|
|
even if attempted explicitely via "driveropts=burnfree".
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \-dummy
|
|
|
|
Try to perform the drive operations without actually affecting the inserted
|
2007-02-06 19:19:54 +00:00
|
|
|
media. There is no guarantee that this will work with a particular combination
|
|
|
|
of drive, media, and write mode. Blanking is prevented reliably, though.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \-eject
|
2007-02-03 18:46:42 +00:00
|
|
|
Eject the disc after work is done.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \-force
|
|
|
|
Assume that the user knows better in situations when cdrskin or libburn are
|
|
|
|
insecure about drive or media state. This includes the attempt to blank
|
|
|
|
media which are classified as unknown or unsuitable, and the attempt to use
|
|
|
|
write modes which libburn believes they are not supported by the drive.
|
|
|
|
.br
|
2007-01-10 15:30:54 +00:00
|
|
|
Another application is with blank=format_* to enforce re-formatting of media
|
|
|
|
which appear to be sufficiently formatted already.
|
|
|
|
.br
|
2006-12-13 19:30:31 +00:00
|
|
|
Use this only when in urgent need.
|
|
|
|
.TP
|
|
|
|
.BI fs= size
|
|
|
|
Set the fifo size to the given value. The value may have appended letters which
|
|
|
|
multiply the preceding number:
|
|
|
|
.br
|
|
|
|
"k" or "K" = 1024 , "m" or "M" = 1024k , "g" or "G" = 1024m , "s" or "S" = 2048
|
|
|
|
.br
|
|
|
|
Set size to 0 in order to disable the fifo (default is "4m").
|
|
|
|
.br
|
2006-12-14 10:22:17 +00:00
|
|
|
The fifo buffers an eventual temporary surplus of track source data in order to
|
|
|
|
provide the drive with a steady stream during times of temporary lack of track
|
|
|
|
source supply.
|
|
|
|
The larger the fifo, the longer periods of poor source supply can be
|
|
|
|
compensated.
|
2006-12-13 19:30:31 +00:00
|
|
|
But a large fifo needs substantial time to fill up if not curbed via
|
|
|
|
option fifo_start_at=size.
|
|
|
|
.TP
|
|
|
|
.BI gracetime= seconds
|
|
|
|
Set the grace time before starting to write. (Default is 0)
|
|
|
|
.TP
|
2006-12-27 16:30:25 +00:00
|
|
|
.BI msifile= path
|
|
|
|
Run option -msinfo and copy the result line into the file given by path.
|
|
|
|
Unlike -msinfo this option does not redirect all normal output away from
|
|
|
|
standard output. But it may be combined with -msinfo to achieve this.
|
2006-12-27 21:44:17 +00:00
|
|
|
.br
|
|
|
|
Note: msifile=path is actually an option of wodim and not of cdrecord.
|
2006-12-27 16:30:25 +00:00
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI \-msinfo
|
|
|
|
Retrieve multi-session info for preparing a follow-up session by option -C
|
|
|
|
of programs mkisofs or genisoimage. Print result to standard output.
|
|
|
|
This option redirects to stderr all
|
|
|
|
message output besides its own result string, which consists of two numbers.
|
|
|
|
The result string shall be used as argument of option -C with said programs.
|
|
|
|
It gives the start address of the most recent session and the predicted
|
|
|
|
start address of the next session to be appended. The string is empty if
|
|
|
|
the most recent session was not written with option -multi.
|
|
|
|
.TP
|
|
|
|
.BI \-multi
|
2007-02-06 19:19:54 +00:00
|
|
|
This option keeps the CD or unformatted DVD-R[W] appendable after the current
|
|
|
|
session has been written.
|
2007-02-03 18:46:42 +00:00
|
|
|
Without it the disc gets closed and may not be written any more - unless it
|
|
|
|
is a -RW and gets blanked which causes loss of its content.
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2007-02-06 19:19:54 +00:00
|
|
|
The following sessions can only be written in -tao mode. -multi is prohibited
|
|
|
|
with overwriteable DVD media and with DVD-R[W] DAO write mode.
|
2007-02-08 21:09:10 +00:00
|
|
|
Option --prodvd_cli_compatible eventually makes -multi tolerable but cannot
|
|
|
|
make it work.
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
In order to have all filesystem content accessible, the eventual ISO-9660
|
|
|
|
filesystem of a follow-up
|
|
|
|
session needs to be prepared in a special way by the filesystem formatter
|
|
|
|
program. mkisofs and genisoimage expect particular info about the situation
|
|
|
|
which can be retrieved by cdrskin option -msinfo.
|
|
|
|
.br
|
|
|
|
To retrieve an archive file which was written as follow-up session,
|
|
|
|
you may use option -toc to learn about the "lba" of the desired track number.
|
|
|
|
.TP
|
|
|
|
.BI \-nopad
|
|
|
|
Do not add trailing zeros to the data stream. Nevertheless, since there seems
|
|
|
|
to be no use for audio tracks with incomplete last sector, this option applies
|
|
|
|
only to data tracks. There it is default.
|
|
|
|
.TP
|
|
|
|
.BI \-pad
|
|
|
|
Add 30 kB of trailing zeros to each data track. (This is not sufficient to
|
|
|
|
avoid problems with various CD-ROM read drivers.)
|
|
|
|
.TP
|
|
|
|
.BI padsize= size
|
|
|
|
Add the given amount of trailing zeros to the next data track. This option
|
|
|
|
gets reset to padsize=0 after that next track is written. It may be set
|
|
|
|
again before the next track argument. About size specifiers, see option fs=.
|
|
|
|
.TP
|
|
|
|
.BI \-raw96r
|
2007-02-03 18:46:42 +00:00
|
|
|
Write CD in RAW/RAW96R mode. This mode allows to put more payload bytes
|
2006-12-13 19:30:31 +00:00
|
|
|
into a CD sector but obviously at the cost of error correction. It can only
|
|
|
|
be used for tracks of fixely predicted size. Some drives allow this mode but
|
|
|
|
then behave strange or even go bad for the next few attempts to burn a CD.
|
|
|
|
One should use it only if inavoidable.
|
|
|
|
.TP
|
|
|
|
.BI \-sao
|
2007-02-06 19:19:54 +00:00
|
|
|
Write CD in Session At Once mode, resp. a sequential DVD-R[W] in Disc-at-once
|
|
|
|
(DAO) mode.
|
|
|
|
.br
|
|
|
|
With CD this mode is able to put several audio tracks on media without
|
|
|
|
producing audible gaps between them.
|
|
|
|
.br
|
|
|
|
With DVD-R[W] this mode can only write a single track.
|
|
|
|
No -multi is allowed with DVD-R[W] -sao.
|
|
|
|
.br
|
|
|
|
-sao can only be used for tracks of fixely predicted size. This implies that
|
|
|
|
track arguments which depict stdin or named pipes need to be preceeded by
|
|
|
|
option tsize= or by option tao_to_sao_tsize=.
|
|
|
|
.br
|
|
|
|
-sao cannot be used on appendable media.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \-scanbus
|
|
|
|
Scan the system for drives. On Linux the drives at /dev/s* and at /dev/hd*
|
|
|
|
are to be scanned by two separate runs. One without dev= for /dev/s* and
|
|
|
|
one with dev=ATA for /dev/hd* devices. (Option --drives lists all available
|
|
|
|
drives in a single run.)
|
|
|
|
.br
|
|
|
|
Drives which are busy or which offer no rw-permission to the user of cdrskin
|
|
|
|
are not listed. Busy drives get reported in form of warning messages.
|
|
|
|
.br
|
|
|
|
The useful fields in a result line are:
|
|
|
|
.br
|
|
|
|
Bus,Target,Lun Number) 'Vendor' 'Mode' 'Revision'
|
|
|
|
.TP
|
|
|
|
.BI speed= number
|
|
|
|
Set speed of drive. With data CD, 1x speed corresponds to a throughput of
|
2007-02-03 18:46:42 +00:00
|
|
|
150,000 bytes/second. With DVD, 1x = 1,385,000 bytes/second.
|
|
|
|
It is not an error to set a speed higher than is suitable for drive
|
2006-12-13 19:30:31 +00:00
|
|
|
and media. One should stay within a realistic speed range, though.
|
|
|
|
.TP
|
|
|
|
.BI \-swab
|
2006-12-14 10:22:17 +00:00
|
|
|
Announce that the raw audio data source of subsequent tracks is byte swapped
|
|
|
|
versus the expectations of cdrecord. This option is suitable for audio where
|
2006-12-13 19:30:31 +00:00
|
|
|
the least significant byte of a 16 bit word is first (little-endian, Intel).
|
|
|
|
Most raw audio data on PC systems are available in this byte order.
|
|
|
|
Less guesswork is needed if track sources are in format MS-WAVE in a file with
|
|
|
|
suffix ".wav".
|
|
|
|
.TP
|
|
|
|
.BI \-tao
|
2007-02-06 19:19:54 +00:00
|
|
|
Write CD in Track At Once (TAO) mode, resp. sequential DVD-R[W] in Incremental
|
|
|
|
Streaming mode. This mode also applies pro-forma to overwriteable DVD media.
|
|
|
|
.br
|
|
|
|
Mode -tao can be used with track sources of unpredictable size, like standard
|
|
|
|
input or named pipes. It is also the only mode that can be used for writing
|
|
|
|
to appendable media which already hold data. With unformatted DVD-R[W] it is
|
|
|
|
the only mode which allows -multi.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \-toc
|
2007-02-03 18:46:42 +00:00
|
|
|
Print the table of content (TOC) which describes the tracks recorded on disc.
|
2006-12-13 19:30:31 +00:00
|
|
|
The output contains all info from option -atip plus lines which begin with
|
2006-12-18 12:29:20 +00:00
|
|
|
"track:", the track number, the word "lba:" and a number which gives the
|
|
|
|
start address of the track. Addresses are counted in CD sectors which with
|
|
|
|
SAO or TAO data tracks hold 2048 bytes each.
|
2006-12-13 19:30:31 +00:00
|
|
|
.RS
|
|
|
|
.TP
|
|
|
|
Example. Retrieve an afio archive from track number 2:
|
|
|
|
.br
|
|
|
|
tracknumber=2
|
|
|
|
.br
|
|
|
|
lba=$(cdrskin dev=/dev/cdrom -toc 2>&1 | \\
|
|
|
|
.br
|
2006-12-18 12:29:20 +00:00
|
|
|
grep '^track:[ ]*[ 0-9][0-9]' | \\
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
tail +"$tracknumber" | head -1 | \\
|
|
|
|
.br
|
|
|
|
awk '{ print $4}' )
|
|
|
|
.br
|
|
|
|
dd if=/dev/cdrom bs=2048 skip="$lba" | \\
|
|
|
|
.br
|
|
|
|
afio -t - | less
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.BI tsize= size
|
|
|
|
Announces the exact size of the next track source. This is necessary with any
|
|
|
|
write mode other than -tao if the track source is not a regular disk file, but
|
|
|
|
e.g. "-" (standard input) or a named pipe.
|
|
|
|
About size specifiers, see option fs=.
|
|
|
|
.br
|
|
|
|
If the track source does not deliver the predicted amount of bytes, the
|
|
|
|
remainder of the track is padded with zeros. This is not considered an error.
|
|
|
|
If on the other hand the track source delivers more than the announced bytes
|
2007-02-06 19:19:54 +00:00
|
|
|
then the track on media gets truncated to the predicted size and cdrskin exits
|
2006-12-13 19:30:31 +00:00
|
|
|
with non-zero value.
|
|
|
|
.TP
|
|
|
|
.BI \-v
|
|
|
|
Increment verbose level by one. Startlevel is 0 with only few messages.
|
|
|
|
Level 1 prints progress report with long running operations and also causes
|
|
|
|
some extra lines to be put out with info retrieval options.
|
|
|
|
Level 2 additionally reports about option settings derived from arguments or
|
|
|
|
startup files. Level 3 is for debugging and useful mainly in conjunction with
|
|
|
|
somebody who had a look into the program sourcecode.
|
|
|
|
.PP
|
|
|
|
Alphabetical list of options which are genuine to cdrskin and intended for
|
|
|
|
normal use:
|
|
|
|
.TP
|
2006-12-13 22:12:36 +00:00
|
|
|
.BI \--allow_setuid
|
|
|
|
Disable the loud warning about insecure discrepance between login user and
|
|
|
|
effective user which indicates application of chmod u+s to the program binary.
|
|
|
|
One should not do this chmod u+s , but it is an old cdrecord tradition.
|
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI \--any_track
|
|
|
|
Allow source_addresses to begin with "-" (plus further characters) or to
|
|
|
|
contain a "=" character.
|
|
|
|
By default such arguments are seen as misspelled options. It is nevertheless
|
|
|
|
not possible to use one of the options listed with --list_ignored_options.
|
|
|
|
.TP
|
|
|
|
.BI \--demand_a_drive
|
|
|
|
Exit with a nonzero value if no drive can be found during a bus scan.
|
|
|
|
.TP
|
|
|
|
.BI \--devices
|
2006-12-15 10:15:50 +00:00
|
|
|
List the device file addresses of all accessible CD drives. In order to get
|
|
|
|
listed, a drive has to offer rw-permission for the cdrskin user and it may
|
|
|
|
not be busy. The superuser should be able to see all idle drives listed and
|
|
|
|
busy drives reported as "SORRY" messages.
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
Each available drive gets listed by a line containing the following fields:
|
|
|
|
.br
|
|
|
|
Number dev='Devicefile' rw-Permissions : 'Vendor' 'Model'
|
|
|
|
.br
|
|
|
|
Number and Devicefile can both be used with option dev=, but number is
|
|
|
|
volatile (numbering changes if drives become busy).
|
|
|
|
.TP
|
|
|
|
.BI fifo_start_at= size
|
|
|
|
Do not wait for full fifo but start burning as soon as the given number
|
|
|
|
of bytes is read. This option may be helpful to bring the average throughput
|
|
|
|
near to the maximum throughput of a drive. A large fs= and a small
|
|
|
|
fifo_start_at= combine a quick burn start and a large savings buffer to
|
2006-12-14 10:22:17 +00:00
|
|
|
compensate for temporary lack of source data. At the beginning of burning,
|
2006-12-13 19:30:31 +00:00
|
|
|
the software protection against buffer underun is as weak as the size of
|
|
|
|
fifo_start_at= . So it is best if the drive offers hardware protection which
|
2007-01-30 22:01:10 +00:00
|
|
|
is enabled automatically if not driveropts=noburnfree is given.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \--list_ignored_options
|
2007-02-09 16:14:47 +00:00
|
|
|
List all ignored cdrecord options. The "-" options cannot be used as addresses
|
2006-12-13 19:30:31 +00:00
|
|
|
of track sources. No track source address may begin with a text equal to an
|
2006-12-13 22:12:36 +00:00
|
|
|
option which ends by "=". The list is ended by an empty line.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
2006-12-14 14:06:23 +00:00
|
|
|
.BI \--no_rc
|
|
|
|
Only if used as first command line argument this option prevents reading and
|
|
|
|
interpretation of eventual startup files. See section FILES below.
|
|
|
|
.TP
|
2007-02-08 21:09:10 +00:00
|
|
|
.BI \--prodvd_cli_compatible
|
|
|
|
Activates behavior modifications with some DVD situations which bring cdrskin
|
|
|
|
nearer to the behavior of cdrecord-ProDVD:
|
|
|
|
.br
|
|
|
|
Option -multi with unsuitable media is not an error but simply has no effect.
|
|
|
|
.br
|
|
|
|
Options blank=fast and blank=all deformat overwriteable DVD-RW media.
|
|
|
|
.br
|
|
|
|
Option blank=fast does indeed minmal blanking with DVD-RW. This may yield media
|
2007-02-09 16:14:47 +00:00
|
|
|
which can only do DAO but not Incremental Streaming.
|
2007-02-08 21:09:10 +00:00
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI \--single_track
|
|
|
|
Accept only the last argument of the command line as track source address.
|
2007-02-06 19:19:54 +00:00
|
|
|
.TP
|
|
|
|
.BI tao_to_sao_tsize= size
|
|
|
|
Set an exact fixed size for the next track to be in effect only if the track
|
|
|
|
source cannot deliver a size prediction and no tsize= was specified and an
|
|
|
|
exact track size prediction is demanded by the write mode.
|
|
|
|
.br
|
|
|
|
This was the fallback from bad old times when cdrskin was unable to burn
|
|
|
|
in mode -tao . It came back with minimally blanked DVD-RW which allow no
|
|
|
|
Incremental Streaming (-tao) resp. with explicitly selected write mode -sao
|
|
|
|
for best DVD-ROM compatibility.
|
|
|
|
.br
|
|
|
|
If the track source delivers less bytes than announced then the missing ones
|
|
|
|
will be filled with zeros.
|
2006-12-23 11:24:11 +00:00
|
|
|
.TP
|
|
|
|
.BI write_start_address= byte_offset
|
2007-01-12 16:26:31 +00:00
|
|
|
Set the address on media where to start writing the track. With DVD+RW or
|
|
|
|
DVD-RAM byte_offset must be aligned to 2 KB blocks, but better is 32 kB.
|
|
|
|
With DVD-RW 32 kB alignment is mandatory.
|
|
|
|
.br
|
2007-01-01 17:19:41 +00:00
|
|
|
Other media are not suitable for this option yet.
|
2006-12-13 19:30:31 +00:00
|
|
|
.PP
|
|
|
|
Alphabetical list of options which are only intended for very special
|
|
|
|
situations and not for normal use:
|
|
|
|
.TP
|
|
|
|
.BI \--abort_handler
|
|
|
|
Establish default signal handling not to leave a drive in busy state
|
|
|
|
but rather to shut it down and to wait until it has ended the final operations.
|
|
|
|
This option is only needed for revoking eventual --ignore_signals or
|
|
|
|
--no_abort_handler.
|
|
|
|
.TP
|
|
|
|
.BI dev_translation= <sep><from><sep><to>
|
2006-12-14 10:22:17 +00:00
|
|
|
Set drive address alias. This was necessary before cdrskin-0.2.4 to manually
|
2006-12-13 19:30:31 +00:00
|
|
|
translate cdrecord addresses into cdrskin addresses.
|
|
|
|
.br
|
|
|
|
<sep> is a single character which may not occur in the address string
|
|
|
|
<from>. <from> is an address as expected to be given by the user via option
|
|
|
|
dev=. <to> is the address to be used instead whenever <from> is given.
|
|
|
|
More than one translation instruction can be given in one cdrskin run.
|
|
|
|
.br
|
|
|
|
E.g.: dev_translation=+ATA:1,0,0+/dev/sg1 dev_translation=+ATA:1,1,0+/dev/sg2
|
|
|
|
.TP
|
|
|
|
.BI \--drive_abort_on_busy
|
|
|
|
Linux specific: Abort process if a busy drive is encountered.
|
|
|
|
.TP
|
|
|
|
.BI \--drive_blocking
|
|
|
|
Linux specific: Try to wait for a busy drive to become free.
|
|
|
|
This is not guaranteed to work with all drivers. Some need nonblocking i/o.
|
|
|
|
.TP
|
|
|
|
.BI \--drive_not_exclusive
|
|
|
|
Linux specific: Do not ask the operating system to prevent opening busy drives.
|
|
|
|
Wether this leads to senseful behavior depends on operating system and kernel.
|
|
|
|
.TP
|
|
|
|
.BI \--drive_scsi_exclusive
|
|
|
|
Linux specific:
|
|
|
|
Try to exclusively reserve device files /dev/srN, /dev/scdM, /dev/stK of drive.
|
|
|
|
this would be helpful to protect against collisions with program growisofs.
|
|
|
|
Regrettably on Linux kernel 2.4 with ide-scsi emulation this seems not to
|
|
|
|
work. Wether it becomes helpful with new Linux systems has to be evaluated.
|
|
|
|
.TP
|
|
|
|
.BI \--fifo_disable
|
|
|
|
Disable fifo despite any fs=.
|
|
|
|
.TP
|
|
|
|
.BI \--fifo_per_track
|
|
|
|
Use a separate fifo for each track.
|
|
|
|
.TP
|
|
|
|
.BI grab_drive_and_wait= seconds
|
|
|
|
Open the addressed drive, wait the given number of seconds, release the drive,
|
|
|
|
and do normal work as indicated by the other options used. This option helps
|
|
|
|
to explore the program behavior when faced with busy drives. Just start a
|
|
|
|
second cdrskin with option --devices while grab_drive_and_wait= is still
|
|
|
|
active.
|
|
|
|
.TP
|
|
|
|
.BI \--ignore_signals
|
|
|
|
Try to ignore any signals rather than to abort the program. This is not a
|
|
|
|
very good idea. You might end up waiting a very long time for cdrskin
|
|
|
|
to finish.
|
|
|
|
.TP
|
|
|
|
.BI \--no_abort_handler
|
|
|
|
On signals exit even if the drive is in busy state. This is not a very good
|
|
|
|
idea. You might end up with a stuck drive that refuses to hand out the media.
|
|
|
|
.TP
|
|
|
|
.BI \--no_blank_appendable
|
2007-02-06 19:19:54 +00:00
|
|
|
Refuse to blank appendable CD-RW or DVD-RW. This is a feature that was once
|
|
|
|
builtin with libburn. No information available for what use case it was needed.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \--no_convert_fs_adr
|
|
|
|
Do only literal translations of dev=. This prevents cdrskin from test-opening
|
|
|
|
device files in order to find one that matches the given dev= specifier.
|
|
|
|
.br
|
|
|
|
Partly Linux specific:
|
|
|
|
Such opening is needed for Bus,Target,Lun addresses unless option
|
|
|
|
--old_pseudo_scsi_adr is given. It is also needed to resolve device file
|
|
|
|
addresses which are not listed with cdrskin --devices but nevertheless point
|
|
|
|
to a usable drive. (Like /dev/sr0 using the same SCSI address as /dev/sg0.)
|
|
|
|
.TP
|
|
|
|
.BI \--old_pseudo_scsi_adr
|
|
|
|
Linux specific:
|
|
|
|
Use and report literal Bus,Target,Lun addresses rather than real SCSI and
|
|
|
|
pseudo ATA addresses. This method is outdated and was never compatible with
|
|
|
|
original cdrecord.
|
|
|
|
.br
|
|
|
|
.SH EXAMPLES
|
|
|
|
.SS
|
2007-02-01 19:45:47 +00:00
|
|
|
.B Get an overview of drives and their addresses:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
cdrskin -scanbus
|
|
|
|
.br
|
|
|
|
cdrskin dev=ATA -scanbus
|
|
|
|
.br
|
|
|
|
cdrskin --devices
|
|
|
|
.SS
|
|
|
|
.B Get info about a particular drive or loaded media:
|
|
|
|
.br
|
|
|
|
cdrskin dev=0,1,0 -checkdrive
|
|
|
|
.br
|
2007-02-01 19:45:47 +00:00
|
|
|
cdrskin dev=ATA:1,0,0 -v -atip
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
cdrskin dev=/dev/hdc -toc
|
|
|
|
.SS
|
2007-01-31 12:59:51 +00:00
|
|
|
.B Make used CD-RW or used unformatted DVD-RW writable again:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2007-02-09 16:14:47 +00:00
|
|
|
cdrskin -v dev=/dev/sg1 blank=fast -eject
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2007-02-09 16:14:47 +00:00
|
|
|
cdrskin -v dev=/dev/dvd blank=all -eject
|
2006-12-13 19:30:31 +00:00
|
|
|
.SS
|
2007-01-31 12:59:51 +00:00
|
|
|
.B Format DVD-RW to avoid need for blanking before re-use:
|
2007-01-01 17:19:41 +00:00
|
|
|
.br
|
|
|
|
cdrskin -v dev=/dev/sr0 blank=format_overwrite
|
|
|
|
.SS
|
2007-02-01 19:45:47 +00:00
|
|
|
.B De-format DVD-RW to make it capable of multi-session again:
|
|
|
|
.br
|
|
|
|
cdrskin -v dev=/dev/sr0 blank=deformat_sequential
|
|
|
|
.SS
|
2007-02-06 19:19:54 +00:00
|
|
|
.B Write ISO-9660 filesystem image as only one to blank or formatted media:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
cdrskin -v dev=/dev/hdc speed=12 fs=8m \\
|
|
|
|
.br
|
2007-01-30 22:01:10 +00:00
|
|
|
-sao -eject padsize=300k my_image.iso
|
2006-12-13 19:30:31 +00:00
|
|
|
.SS
|
2007-02-12 12:41:18 +00:00
|
|
|
.B Write compressed afio archive on-the-fly (not possible with minimally blanked DVD-RW):
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
find . | afio -oZ - | \\
|
|
|
|
.br
|
2007-01-30 22:01:10 +00:00
|
|
|
cdrskin -v dev=0,1,0 fs=32m speed=8 \\
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2007-02-06 19:19:54 +00:00
|
|
|
-tao padsize=300k -
|
2006-12-13 19:30:31 +00:00
|
|
|
.SS
|
2007-02-01 19:45:47 +00:00
|
|
|
.B Write several sessions to the same CD or DVD-R[W]:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2007-02-06 19:19:54 +00:00
|
|
|
cdrskin dev=/dev/hdc -v padsize=300k -multi -tao 1.iso
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2007-02-01 19:45:47 +00:00
|
|
|
cdrskin dev=/dev/hdc -v padsize=300k -multi -tao 2.iso
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2007-02-01 19:45:47 +00:00
|
|
|
cdrskin dev=/dev/hdc -v padsize=300k -multi -tao 3.iso
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2007-02-01 19:45:47 +00:00
|
|
|
cdrskin dev=/dev/hdc -v padsize=300k -tao 4.iso
|
2006-12-13 19:30:31 +00:00
|
|
|
.SS
|
2007-02-01 19:45:47 +00:00
|
|
|
.B Get CD or DVD-R[W] multi-session info for option -C of program mkisofs:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
c_values=$(cdrskin dev=/dev/sr0 -msinfo 2>/dev/null)
|
|
|
|
.br
|
|
|
|
mkisofs ... -C "$c_values" ...
|
|
|
|
.SS
|
2006-12-21 21:46:58 +00:00
|
|
|
.B Write audio tracks to CD:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2007-01-30 22:01:10 +00:00
|
|
|
cdrskin -v dev=ATA:1,0,0 speed=48 -sao \\
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
track1.wav track2.au -audio -swab track3.raw
|
|
|
|
.br
|
|
|
|
.SH FILES
|
|
|
|
If not --no_rc is given as the first argument then cdrskin attempts on
|
|
|
|
startup to read the arguments from the following files:
|
|
|
|
.PP
|
|
|
|
.br
|
|
|
|
.B /etc/default/cdrskin
|
|
|
|
.br
|
|
|
|
.B /etc/opt/cdrskin/rc
|
|
|
|
.br
|
|
|
|
.B /etc/cdrskin/cdrskin.conf
|
|
|
|
.br
|
|
|
|
.B $HOME/.cdrskinrc
|
|
|
|
.br
|
|
|
|
.PP
|
|
|
|
The files are read in the sequence given above, but none of them is
|
|
|
|
required for cdrskin to function properly. Each readable line is treated
|
|
|
|
as one single argument. No extra blanks.
|
|
|
|
A first character '#' marks a comment, empty lines are ignored.
|
|
|
|
.SS
|
|
|
|
.B Example content of a startup file:
|
|
|
|
.br
|
|
|
|
# This is the default device
|
|
|
|
.br
|
|
|
|
dev=0,1,0
|
|
|
|
.br
|
|
|
|
# To accomodate to remnant cdrskin-0.2.2 addresses
|
|
|
|
.br
|
|
|
|
dev_translation=+1,0,0+0,1,0
|
|
|
|
.br
|
|
|
|
# Some more options
|
|
|
|
.br
|
|
|
|
fifo_start_at=0
|
|
|
|
.br
|
|
|
|
fs=16m
|
|
|
|
.br
|
|
|
|
.SH SEE ALSO
|
|
|
|
.TP
|
2006-12-14 10:22:17 +00:00
|
|
|
Formatting track sources for cdrskin:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
.BR mkisofs (8),
|
|
|
|
.BR genisoimage (8),
|
|
|
|
.BR afio (1),
|
|
|
|
.BR star (1)
|
|
|
|
.br
|
|
|
|
.TP
|
2006-12-23 11:24:11 +00:00
|
|
|
Other CD/DVD burn programs:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
.BR cdrecord (1),
|
|
|
|
.BR wodim (1)
|
|
|
|
.br
|
|
|
|
.TP
|
2007-01-30 22:01:10 +00:00
|
|
|
For DVD burning (also tutor of libburn's DVD capabilities):
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
.BR growisofs (1)
|
|
|
|
.br
|
|
|
|
.SH AUTHOR
|
|
|
|
cdrskin was written by Thomas Schmitt <scdbackup@gmx.net>.
|
|
|
|
.PP
|
|
|
|
This manual page was written by George Danchev <danchev@spnet.net> and
|
|
|
|
Thomas Schmitt, for the Debian project and for all others.
|
|
|
|
|