This chapter contains information on CD/DVD-writing utilities in Linux.
Additional sources of information include:
The Cdrtools package contains CD recording utilities. These are useful for reading, creating or writing (burning) Compact Discs.
Download (FTP): ftp://ftp.berlios.de/pub/cdrecord/cdrtools-2.01.tar.bz2
Download MD5 sum: d44a81460e97ae02931c31188fe8d3fd
Download size: 1.4 MB
Estimated disk space required: 21 MB
Estimated build time: 0.5 SBU
Required patch for extending the number of locales to create CDs with non-ASCII filenames: http://www.linuxfromscratch.org/patches/blfs/6.2.0/cdrtools-2.01-mkisofs_iconv-1.patch
Recommended Patch for using Cdrtools in locales using non-ISO-8859-1 character sets: http://www.linuxfromscratch.org/patches/blfs/6.2.0/cdrtools-2.01-ascii-2.patch
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
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.
converts Compact Disc audio into WAV sound files.
records audio or data Compact Discs.
is a diagnostic program used to dump an ISO-9660 device or file in hex.
is used to display the command-line parameters used to create an ISO-9660 image.
is a diagnostic program used to dump a device or file based on ISO-9660.
is used to analyze or list an ISO-9660 image.
is used to verify an ISO-9660 image.
is a symbolic link to mkisofs used to create ISO-9660/HFS hybrid filesystem images.
is used to create ISO-9660/JOLIET/HFS filesystem images, optionally with Rock Ridge attributes.
reads or writes Compact Discs.
is a remote SCSI manager.
is used to check and verify the Application Binary Interface of libscg.
is a highly portable SCSI transport library.
Last updated on 2006-06-21 11:26:07 -0500