CDRtools

CDRtools is a highly portable CD/DVD/Blu-Ray command line recording software.

This repository contains cdrtools packages for CentOS/RHEL and Fedora supported distributions. This package cannot be included in the main repository due to licensing issues.

Package information

This package tries to comply as maximum to the Fedora Packaging Guidelines; this means the packages has debug information packages, default Fedora’s GCC compile time options (where possible) and standard locations for binaries, data and docs.

On CentOS/RHEL 6 and Fedora there are no SETUID binaries and instead all permissions are granted through kernel capabilities. CentOS/RHEL 5 do not have this mechanism and as such binaries in this platform are still configured with SETUID permissions. Example on Fedora:

$ getcap /usr/bin/cdrecord 
/usr/bin/cdrecord = cap_dac_override,cap_net_bind_service,cap_ipc_lock,cap_sys_rawio,cap_sys_admin,cap_sys_nice,cap_sys_resource+ep

Programs default device to /dev/cdrom, as by default in RHEL/Fedora.

Please note that cdrecord is what is required for burning Blu-Ray and Dual Layer DVD discs; the Fedora bundled wodim does not produce readable discs or is not able to burn them at all.

Supported distributions:
* RHEL/CentOS 5 – i386/x86_64
* RHEL/CentOS 6 – i686/x86_64
* RHEL/CentOS 7 – x86_64
* Fedora 19 – i686/x86_64
* Fedora 20 – i686/x86_64

Installation

To install the repository on a supported Fedora distribution, run as root the following command:

wget http://negativo17.org/repos/fedora-cdrtools.repo -O \
    /etc/yum.repos.d/fedora-cdrtools.repo

For installation on CentOS and Redhat Enterprise Linux:

wget http://negativo17.org/repos/epel-cdrtools.repo -O \
    /etc/yum.repos.d/epel-cdrtools.repo

Then, to install all the packages of which the cdrtools suite is composed, perform the following commands:

yum -y install cdrecord mkisofs cdda2wav

If you are already running a desktop, it’s very likely that you have cdrkit already installed. In this case just perform an update and the packages will overwrite icedax, wodim and geniso.

Graphical front end programs for CD/DVD burning and mastering like Brasero already have support for cdrtools and no additional settings are required. Since the packages also provide cdrkit packages, no tool should break in your Fedora installation.

$ rpm -qp --provides *rpm cdrtools/epel-6/x86_64/*rpm
icedax = 10:
cdda2wav = 10:3.01-a16.1.el6
cdda2wav(x86-64) = 10:3.01-a16.1.el6
config(cdrecord) = 10:3.01-a16.1.el6
wodim = 10:
cdrecord = 10:3.01-a16.1.el6
cdrecord(x86-64) = 10:3.01-a16.1.el6
genisoimage = 10:
mkisofs = 10:3.01-a16.1.el6
mkisofs(x86-64) = 10:3.01-a16.1.el6

Epoch tag in packages is increased accordingly to avoid any possible broken upgrade path between official cdrkit packages that obsolete cdrtools.

Bugs

The address for contacting me is in the package’s changelog.

7 Responses so far...

  1. Amit says:

    Hi,
    I would like to ship your packages with my Fedora remix by default but mkisofs from your packages causes livecd-creator to fail with the following error:

    Bad Option ‘-e’ (error -1 BADFLAG).
    Usage: mkisofs [options] [-find] file… [find expression]

    Use mkisofs -help
    to get a list all of valid options.

    Use mkisofs -find -help
    to get a list of all valid -find options.

    Most important Options:
    -posix-H Follow sylinks encountered on command line
    -posix-L Follow all symlinks
    -posix-P Do not follow symlinks (default)
    -o FILE, -output FILE Set output file name
    -R, -rock Generate Rock Ridge directory information
    -r, -rational-rock Generate rationalized Rock Ridge directory info
    -J, -joliet Generate Joliet directory information
    -print-size Print estimated filesystem size and exit
    -UDF Generate UDF file system
    -dvd-video Generate DVD-Video compliant UDF file system
    -iso-level LEVEL Set ISO9660 level (1..3) or 4 for ISO9660 v 2
    -V ID, -volid ID Set Volume ID
    -graft-points Allow to use graft points for filenames
    -M FILE, -prev-session FILE Set path to previous session to merge
    Error creating Live CD : ISO creation failed!

    It works fine with the version shipped with Fedora, any help would be appreciated.

    • slaanesh says:

      Hello,

      cdrtools and cdrkit have diverted substantially since cdrtools was forked; the “-e” flag is not present in cdrtools’ mkisofs command. To generate EFI images you need to specify different options.

      In the next days I will try to introduce alternatives to cdrtools so base wodim, icedax and genisoimage are not overwritten on the system and it will allow you to switch back and forth between the two implementations.

      Regards,
      –Simone

  2. Davide Repetto says:

    There is a small typo:
    “yum -y install cdrectod mkisofs cdda2wav” should be “yum -y install cdrecord mkisofs cdda2wav”

  3. schily says:

    Just a note on “cdrkit”: there is no EFI support in the Debian source tree.

    The original mkisofs added support for EFI boot using “-eltorito-platform efi”
    in June 2011. If people who may have created a patch to genisoimage that
    added EFI support did care about compatibility, I would expect that they follow
    mkisofs option names.

    But it is correct, as a fact that cdrkit did not evolve since September 2004 and
    the original code did evolve massively, there now is a lot of functionality in the
    original code that is missing in cdrkit. Cdrkit currently delivers less than 40%
    of the features found in the original code.

    • slaanesh says:

      Fedora/RHEL cdrkit builds contain specific EFI patches that integrate with the Fedora and Redhat tools for creating the distribution images. Unfortunately they are using totally different command line switches.

      • schily says:

        This may be a result of not knowing the best way by the people
        who create patches to cdrkit.

        When I add a new feature, I of course do not just do what might
        be obvious but I look at the related standards (e.g. Eltorito) and
        implement something more general. ElTorito defines a generic
        interface for different platforms and this is why mkisofs got a
        method based on allowing all known such platforms including
        EFI and PPC.

        BTW: At the same time I added an option -modification-date to
        mkisofs to manually control what grub-2 identifies as UUID.

        Both features have been developed together with Oracle
        in 2010 and exposed to the public after everything was negotiated.

Comments

Leave a Reply

%d bloggers like this: