
78
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
--with-cddb
Use CDDB to fetch information about the disc and save it as
CD-TEXT data. Used with the copy, read-toc, and read-cd
commands.
Examples
To find devices on the system:
cdrdao scanbus
To copy from a CD device (at 1,1,0) to a CD-R device (at 1,0,0):
cdrdao copy --source 1,1,0 --device 1,0,0 --buffers 64
cdrecord
cdrecord [general-options] dev=device [track-options]
track1,track2...
Record data or audio compact discs. This program normally
requires root access. It has a large number of options and settings.
A number of useful examples can be found in the manpage.
General options
General option flags go directly after the cdrecord command.
Options affecting the track arguments are placed after the device
argument and before the track arguments themselves. The general
options are:
--atip
Display the ATIP (Absolute Time In Pregroove) information
for a disc. Only some drives allow you to read this information.
--blank=type
Erase data from a CD-RW in one of the following ways:
help
Display a possible list of blanking methods.
all
Erase all information on the disc. May take a long time.
fast
Perform a quick erase of the disc, erasing only the PMA,
TOC, and pregap.
track
Blank a track.
unreserve
Unreserve a track previously marked as reserved.
trtail
Blank the tail of a track ...