CD/DVD-Writing Utilities

This chapter contains information on CD/DVD-writing utilities in Linux.

Additional sources of information include:

Cdrtools-2.01

Introduction to Cdrtools

The Cdrtools package contains CD recording utilities. These are useful for reading, creating or writing (burning) Compact Discs.

Package Information

Additional Downloads

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/Cdrtools

Installation of Cdrtools

[Note]

Note

Installation of Cdrtools will fail if raw kernel headers are found in /usr/src/linux either as actual files or a symlink. As of the Linux 2.6 kernel series, this directory should no longer exist because appropriate headers were installed in the linux-libc-headers package during the base LFS installation.

When creating an ISO 9660 image with mkisofs, the character set of the filenames used must be specified unless it is ISO-8859-1, the default. If the character set is not specified correctly, then non-ASCII filenames will be unreadable on other systems, such as Microsoft Windows. This patch allows any input character set supported by Glibc (such as UTF-8) to be specified to mkisofs, as opposed of the short list of built-in encodings. Also, the default input character set is set to that of the current locale, which is the correct behavior. To address this situation, apply the mkisofs_iconv patch:

patch -Np1 -i ../cdrtools-2.01-mkisofs_iconv-1.patch

The cdrecord program has hard-coded non-ASCII characters in its messages. Since these characters are part of the ISO-8859-1 character set, they will not be displayed correctly in locales that use a different character set, such as UTF-8. The following patch converts these characters to ASCII approximations:

patch -Np1 -i ../cdrtools-2.01-ascii-2.patch

Install Cdrtools by running the following commands:

make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root

This package does not come with a test suite.

Now, as the root user:

make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
install -v -m755 -d /usr/share/doc/cdrtools-2.01 &&
install -v -m644 README* ABOUT doc/*.ps \
    /usr/share/doc/cdrtools-2.01

Command Explanations

INS_BASE=/usr: This parameter moves the install directory from /opt/schily to /usr.

DEFINSUSR=root DEFINSGRP=root: These parameters install all programs with root:root ownership instead of the default bin:bin.

Contents

Installed Programs: cdda2wav, cdrecord, devdump, isodebug, isodump, isoinfo, isovfy, mkhybrid, mkisofs, readcd, rscsi, scgcheck, and skel
Installed Libraries: libdeflt.a, libedc_ecc.a, libfile.a, libhfs.a, libparanoia.a, librscg.a, libscg.a, libschily.a, and libunls.a
Installed Directories: None

Short Descriptions

cdda2wav

converts Compact Disc audio into WAV sound files.

cdrecord

records audio or data Compact Discs.

devdump

is a diagnostic program used to dump an ISO-9660 device or file in hex.

isodebug

is used to display the command-line parameters used to create an ISO-9660 image.

isodump

is a diagnostic program used to dump a device or file based on ISO-9660.

isoinfo

is used to analyze or list an ISO-9660 image.

isovfy

is used to verify an ISO-9660 image.

mkhybrid

is a symbolic link to mkisofs used to create ISO-9660/HFS hybrid filesystem images.

mkisofs

is used to create ISO-9660/JOLIET/HFS filesystem images, optionally with Rock Ridge attributes.

readcd

reads or writes Compact Discs.

rscsi

is a remote SCSI manager.

scgcheck

is used to check and verify the Application Binary Interface of libscg.

libscg.a

is a highly portable SCSI transport library.

Last updated on 2006-06-21 11:26:07 -0500