Cdrtools

From Wikipedia, the free encyclopedia

cdrtools
Original author(s) Jörg Schilling, Eric Youngdale, Heiko Eißfeldt, James Pearson
Developer(s) Jörg Schilling
Initial release 4 February 1996 (1996-02-04)
Stable release

3.00 (2 June 2010 (2010-06-02)) [±][1]

[2]
Preview release 3.01a22 (20 January 2014 (2014-01-20)) [±][3]
Development status Active
Written in C
Operating system See Compatible operating systems
Available in English
Type CD/DVD/Blu-ray writing
License CDDL, GNU GPL and GNU LGPL
Website cdrecord.berlios.de
As of February 2014

cdrtools (formerly known as cdrecord) is a collection of independent projects of free software/open source computer programs, created by Jörg Schilling and others.

The most important parts of the package are cdrecord, a console-based burning program; cdda2wav, a CD audio ripper that uses libparanoia; and mkisofs, a CD/DVD/BD/UDF/HFS filesystem image creator. Because these tools do not include any GUI, many graphical front-ends have been created.

Features

The collection includes many features, such as:

  • creation of audio, data, and mixed (audio and data) CDs.
  • burning CD-R, CD-RW and DVD-R, DVD-RW, DVD+R and DVD+RW, both single and dual layer DVDs.
  • several burning modes, such as Track-At-Once and Disc-At-Once
  • cue sheet based writing using the control file format from cdrwin including enhancements for ExactAudioCopy
  • ability to process Blu-ray Discs
  • understanding and exploitation of many vendor specific drive features.

History and name change

The first releases of cdrtools were called cdrecord because they only included the cdrecord tool and a few companion tools, but not mkisofs nor cdda2wav. In 1997, a copy of mkisofs[4] (developed at that time by Eric Youngdale) was included in the cdrecord package. In 1998, a copy of an experimental version of cdda2wav[5] (developed at that time by Heiko Eißfeldt) was included in the cdrecord package.

In 2000, Jörg Schilling changed the name of his package from "cdrecord" to "cdrtools"[6] to better reflect the fact that it had become a collection of tools.

Until 2006, cdrtools was the standard and most used software suite in its category on GNU/Linux systems as well as on several other operating systems (mainly BSD-based). It is still the most used[citation needed] software suite (in its category) on many open source operating systems, except for several major GNU/Linux distributions.

Licensing issues

The project was originally licensed under the GNU General Public License (GPL).

With version 1.11a17 (released in 2002), a section of cdrtools' source code was modified to include an invariant section, with the intent to prevent people from distributing variants with intentional bugs under the original name.[7] The purpose of this invariant section was to make sure any modification to cdrecord would be properly reported as such to the user.

In May 2006, most parts of cdrtools were switched to the CDDL with permission from their authors.[8] After this license change some parts of cdrtools (e.g. mkisofs, which is still GPL-licensed) use code that was switched to CDDL, (e.g. libscg, the SCSI Transport Layer developed by Jörg Schilling).

According to the Free Software Foundation, the CDDL is incompatible with the GNU General Public License (GPL).[9] Jonathan Corbet, founder of the LWN.net news source argued this makes it impossible to legally distribute cdrtools binaries.[10] Other observers claim that this license issue could be solved by using dynamic-link libraries (also called shared objects), that is, code under the GPL license may use code under the CDDL license (and vice-versa) as long as the codes are stored in distinct files (one runtime and one or more shared objects).[citation needed]

Because of this license change, several GNU/Linux distributions stopped distributing cdrtools in 2006.

The author's position is that any open source operating system can distribute cdrtools as long as the terms of the licenses are respected.[11][12]

In September 2006, four months after the license change, Jörg Schilling added support for dynamic-linking cdrtools,[13] hoping this would be enough for the GNU/Linux distributions to restart distributing cdrtools.

Debian,[14] Red Hat,[15][16] and Mandriva[17] have all either dropped cdrtools or reverted to the last non-CDDL release of cdrtools, and have not reverted that decision until now. Just before dropping cdrtools in 2006, the Debian project created cdrkit, a fork of cdrtools.[18] cdrkit is distributed by most of the GNU/Linux distributions which have dropped cdrtools. In August 2008, Mark Shuttleworth offered to ask the Software Freedom Law Center for a legal opinion on whether cdrtools could be included in Ubuntu, provided Schilling agreed to accept the opinion.[19]

cdrtools versus cdrkit versus libburnia

GNU/Linux distributions which still ship cdrkit consider it as legacy software and plan to move to libburnia,[20][21] which is not based on cdrtools.

Main commands in each software suite
Software suite Commands for
CD/DVD/Blu-ray CD-Audio
pre-mastering burning reading extraction
cdrtools mkisofs[22] cdrecord[23] readcd[24] cdda2wav[25]
cdrkit genisoimage[26] wodim[27] readom[28] icedax[29]
libburnia xorriso[30] cdrskin[31] telltoc cdrskin

The following tables list some differences between cdrtools, cdrkit and libburnia. (The comparisons apply to the latest releases of each software suite.)

Comparison of cdrtools, cdrkit and libburnia
Topic Suites compared
cdrtools cdrkit libburnia
License(s) CDDL, GPL and LGPL GPL GPL
Can be built from source code on most architectures of most operating systems Yes[32] Some Some
Is included in most major GNU/Linux distributions Some[33] Yes Yes
Is included in all BSD-based distributions Yes No No
Number of active developers 1[34] 0 3+[35]
Year of first public release 1996 2006 2006
Development status Active Inactive Active
Comparison of cdrecord, wodim and cdrskin
Topic Commands compared
cdrecord[23] (cdrtools) wodim[27] (cdrkit) cdrskin[31] (libburnia)
Has support for Blu-ray Discs Yes No Yes
Has support for most existing hardware, including models with buggy firmware Yes Some Some
Has support for DVD-9 (8.5 GB dual layer DVD) media Yes No Yes
Has support for custom Layer Jump Recording (to tell the burner when to switch to the second layer on dual-layer DVDs) Yes No No
Has support for automatic Layer Jump Recording (the burner decides when to switch to the second layer on dual-layer DVDs) Yes No Yes
Has support for capability-based security (on GNU/Linux systems supporting it), which means the burn program does not need to be installed with setuid access rights (in other words, burn operations can be performed by unprivileged users with increased security) Yes[36] No No
Supports "Disc Tattooing" CD-R and DVD media with DiscT@2-capable burners Yes No No
Supports ".inf" files for CD-audio Yes Partial[37] No
Supports ".cue" files for CD-audio Yes Partial Partial
Comparison of mkisofs, genisoimage and xorriso
Topic Commands compared
mkisofs[22] (cdrtools) genisoimage[26] (cdrkit) xorriso[30] (libburnia)
Has support for big files (size ≥ 4 GiB) and multi-extent files Yes No Yes
Has support for UDF filesystems (required for video DVD/BD) Yes Partial[38] No[39]
Has support for Rock Ridge Yes Partial[40] Yes
Has support for sub-second time stamp granularity in Rock Ridge extensions Yes[41] No No
Has support for microsecond time stamp granularity in UDF filesystems Yes[42] No No
Has support for all three Unix times ("atime", "ctime" and "mtime") in both Rock Ridge and UDF Yes[43][44] Partial[45] Partial[46]
Has EFI boot support (for creating bootable media) Yes[47] Some[48] Yes
Has built-in Jigdo support (for creating .jigdo and .template files along with the ISO image file) No[49] Yes Yes
Has support for a built-in POSIX-compliant "-find" option Yes No[50] Some[51]
Can be instructed to ignore and bypass a user supplied list of errors during image masterisation (not recommended unless used with the "-print-size" option) Yes[52] No Yes
Comparison of cdda2wav, icedax and cdrskin
Topic Commands compared
cdda2wav[25] (cdrtools) icedax[29] (cdrkit) cdrskin[31] (libburnia)
Has support for capability-based security (on GNU/Linux systems supporting it), which means the audio extraction program does not need to be installed with setuid access rights (in other words, ripping can be performed by unprivileged users with increased security) Yes[36] No[53] No
Supports to use libparanoia for audio extraction Yes Yes[54] No
Supports to display C2 errors in poparanoia mode Yes No No
libparanoia statitstics work Yes No No
Supports to extract hidden tracks Yes No No
Supports to create .inf files Yes Partial[55] No
Supports to create .cue files Yes No No
Supports to compute MD5 checksums for the extracted audio data Yes No No
Implements remote controlled mode for better DAE properties in GNOME Yes No No

Compatible operating systems

The latest alpha release of cdrtools can be compiled on the following operating systems :

Availability of precompiled binary packages

Availability of precompiled cdrtools
Operating system Kernel family Builds of cdrtools
official 3rd-party
Arch Linux Linux Yes
CentOS Linux No Yes
Debian Linux No Yes
DragonFly BSD xBSD (DragonFly) Yes
Fedora Linux No Yes
FreeBSD xBSD (FreeBSD) Yes
Gentoo Linux Linux Yes
Gentoo/FreeBSD xBSD (FreeBSD) Yes
Haiku BeOS clone Yes
Illumos OpenSolaris fork Yes
KaOS Linux Yes
Kwheezy Linux Yes
Linux Mint Linux No Yes[83]
NetBSD xBSD (NetBSD) Yes
OpenBSD xBSD (OpenBSD) Yes
openSUSE Linux Yes
Oracle Linux Linux No Yes
Oracle Solaris Solaris Yes
OS X Mach No Yes[84]
Parted Magic Linux Yes
PC-BSD xBSD (FreeBSD) Yes
RHEL Linux No Yes
Sabayon Linux Yes
Salix OS Linux Yes
Scientific Linux Linux No Yes
Slackware Linux Yes
SlavankaOS Linux Yes
SystemRescueCD Linux Yes
Ubuntu Linux No Yes
Windows Windows No Yes

Many operating system vendors, but not all, do distribute cdrtools. Because some major GNU/Linux distributions do not, several dedicated individuals have decided to help the community by providing unofficial 3rd-party builds of cdrtools. This table lists some popular operating systems, as well as some GNU/Linux distributions that ship cdrtools.

Version history

Version history of cdrtools
Project Name Preview Releases Stable Release Notes
first last version date
cdrecord Old version, no longer supported: 1.00 1996-02-04
Old version, no longer supported: 1.01 1996-10-04
Old version, no longer supported: 1.02 1996-12-20
Old version, no longer supported: 1.03 1997-05-16
Old version, no longer supported: 1.04 1997-05-23
1.5a1 1.5a9 style="background-color: #FDB3AB; " title="Old version, no longer supported" data-sort-value="1.05" | Old version, no longer supported: 1.05 1997-09-15
1.6a01 1.6a15 style="background-color: #FDB3AB; " title="Old version, no longer supported" data-sort-value="1.06" | Old version, no longer supported: 1.06 1998-04-18
1.6.1a1 1.6.1a7 style="background-color: #FDB3AB; " title="Old version, no longer supported" data-sort-value="1.06.1" | Old version, no longer supported: 1.06.1 1998-10-19
1.8a01 1.8a40 style="background-color: #FDB3AB; " title="Old version, no longer supported" data-sort-value="1.08" | Old version, no longer supported: 1.08 2000-01-28
1.8.1a01 1.8.1a09 style="background-color: #FDB3AB; " title="Old version, no longer supported" data-sort-value="1.08.1" | Old version, no longer supported: 1.08.1 2000-04-27
1.9a01 1.9a05 style="background-color: #FDB3AB; " title="Old version, no longer supported" data-sort-value="1.09" | Old version, no longer supported: 1.09 2000-07-20
cdrtools 1.10a01 1.10a19 style="background-color: #FDB3AB; " title="Old version, no longer supported" data-sort-value="1.10" | Old version, no longer supported: 1.10 2001-04-22
1.11a01
2.0pre1
1.11a40
2.0pre3
style="background-color: #FDB3AB; " title="Old version, no longer supported" data-sort-value="2.00" | Old version, no longer supported: 2.00 2002-12-25
style="background-color: #FDB3AB; " title="Old version, no longer supported" data-sort-value="2.00.3" | Old version, no longer supported: 2.00.3 2003-05-28
2.01a01 2.01a38 style="background-color: #FDB3AB; " title="Old version, no longer supported" data-sort-value="2.01" | Old version, no longer supported: 2.01 2004-09-09
2.01.01a01 2.01.01a80 class="templateVersion c" style="background-color: #D4F4B4; " title="Current stable version" data-sort-value="3.00" | Current stable version: 3.00[1][2] 2010-06-02 Blu-ray support is available since July 2007[85]
3.01a01 Latest preview version of a future release: 3.01a22[3] 2014-01-20[3]
Legend:
Old version
Older version, still supported
Latest version
Latest preview version
Future release

Forks

Software that can use cdrtools

References

  1. 1.0 1.1 Schilling, Jörg (18 May 2010). "cdrtools 3.00 release announcement". Retrieved 2010-05-18. 
  2. 2.0 2.1 Schilling, Jörg (2 June 2010). "cdrtools 3.00 release notes". Retrieved 2010-06-02. 
  3. 3.0 3.1 3.2 Schilling, Jörg (20 January 2014). "cdrtools 3.01a22 announcement". Retrieved 2014-01-22. 
  4. mksofs-1.11 was incorporated to cdrecord-1.5a3 on 5 July 1997 (source: AN-1.5a3)
  5. cdda2wav-0.95beta07 was incorporated to cdrecord-1.8a6 on 27 October 1998 (source: AN-1.8a6)
  6. cdrecord and its friends (mkisofs and cdda2wav) are distributed in a common package called cdrtools since 27 July 2000 (source: AN-1.10a01).
  7. See the file LIMITATIONS
  8. The license change took place on 15 May 2006, when cdrtools-2.01.01a09 was released. (Source: AN-2.01.01a09)
  9. "Various Licenses and Comments About Them - Common Development and Distribution License". Free Software Foundation. Retrieved 2006-12-31. 
  10. Jonathan Corbet. "cdrtools - a tale of two licenses". Retrieved 2007-08-04. 
  11. cdrtools may be distributed in source and/or binary form, as indicated in file "COPYING" of any recent source tarball, (e.g. COPYING for the current stable release).
  12. See message 17 in bugs.launchpad.net/ubuntu/+source/cdrtools/+bug/213215.
  13. "#377109 - RM: cdrtools -- RoM: non-free, license problems - Debian Bug report logs". Retrieved 2007-08-04. 
  14. "Information for build cdrtools-2.01-11.fc7". Retrieved 2007-08-04. "moved back to version 2.01 (last GPL version), due to incompatible license issues" 
  15. "[Fedora-legal-list] Legal CD/DVD/BD writing software for RedHat and Fedora". 
  16. "Mandriva Cooker : The Inside Man V". Retrieved 2007-08-04. 
  17. "cdrkit (fork of cdrtools) uploaded to Debian, please test". Retrieved 2007-08-04. 
  18. "Minutes from the Technical Board meeting, 2008-08-26". Retrieved 2008-09-15. 
  19. libburnia is expected to replace cdrkit on those distributions that do not ship cdrtools. Source: cdrtools, cdrkit and cdrskin: Untying the knot.
  20. In January 2012 former Debian Project Leader Steve McIntyre wrote : "I’m the primary maintainer of cdrkit at this point, but I’d prefer to have it go away. Xorriso and the associated software in libisoburn is almost capable of replacing all the aging cdrtools-derived software that we have in Debian, The only missing feature that I’m aware of is creating the HFS hybrid filesystems that we use for installations on Mac systems. I’ve been talking with the upstream folks about this for some time already, and I’m hoping we can finish this soon enough that we can get it into Wheezy." Source: McIntyre, Steve (13 January 2012). "People Behind Debian: Steve McIntyre, debian-cd maintainer, former Debian Project Leader". Retrieved 2014-02-02.  As of January 2014 this did not happen yet, and Wheezy was released in May 2013 with cdrkit.
  21. 22.0 22.1 mkisofs(8) man page.
  22. 23.0 23.1 cdrecord(1) man page.
  23. readcd(1) man page.
  24. 25.0 25.1 cdda2wav(1) man page.
  25. 26.0 26.1 genisoimage(1) man page.
  26. 27.0 27.1 wodim(1) man page.
  27. readom(1) man page.
  28. 29.0 29.1 icedax(1) man page.
  29. 30.0 30.1 xorriso(1) man page.
  30. 31.0 31.1 31.2 cdrskin(1) man page.
  31. Recent releases of cdrtools compiles from source code on most architectures of most operating systems, as shown in section #Compatible operating systems
  32. Most GNU/Linux distributions stopped distributing cdrtools after the license change. See section #The licensing issue. However, during the past years some GNU/Linux distributions did restart shipping cdrtools.
  33. The changelogs credit no contributions by the other authors other than Joerg Schiling since the release of cdrtool 3.00, but state e.g. "Heiko did not work on cdda2wav since September 2004"
  34. Libburina homepage, as updated on December 12, 2013.
  35. 36.0 36.1 Support for capability-based security was added on 22 April 2013 with the release of cdrtools 3.01a14. (Source: AN-3.01a14)
  36. No support for hidden tracks and other features introduced since 2004
  37. Snippet from the genisoimage(1) man page: «UDF support is currently in alpha status and for this reason, it is not possible to create UDF-only images. UDF data structures are currently coupled to the Joliet structures, so there are many pitfalls with the current implementation. There is no UID/GID support, there is no POSIX permission support, there is no support for symlinks.»
  38. «xorriso does not produce UDF filesystems which are specified for official video DVD or BD.» Source: xorriso overview and xorriso(1) man page.
  39. genisoimage is compliant with Rock Ridge version 1.10 (producing the "RRIP_1991A" signature) but not with version 1.12, which has a "IEEE_1282" signature and embeds file serial numbers in the "PX" SUSP tags.
  40. The time stamp granularity with Rock Ridge extensions in mkisofs is 1 centi-second with the "-long-rr-time" option (enabled by default), and 1 second with the "-short-rr-time" option. The "-long-rr-time" option appeared with cdrtools 3.01a01 on 24 November 2010 (see AN-3.01a01). Warning: Linux systems can not handle sub-second time stamp granularity in Rock Ridge extensions and show 1 January 1970. This is why Linux users creating iso images with Rock Ridge extensions but without an UDF filesystem are advised to use the "-short-rr-time" option.
  41. The time stamp granularity in UDF filesystems created with mkisofs is 1 microsecond.
  42. Support for all three Unix times for Rock Ridge extensions was already available in mkisofs 1.11 which was shipped with cdrecord 1.5a1 on 22 June 1997. (Source: lines 376 to 380 of file cdrecord-1.5/mkisofs-1.11/rock.c of archive cdrecord-1.5a1.tar.gz)
  43. Support for all three Unix times for UDF was added to cdrtools 3.01a13 on 26 February 2013. (Source: AN-3.01a13)
  44. Support for all three Unix times in genisoimage is only available for Rock Ridge.
  45. Support for all three Unix times in xorriso is only available for Rock Ridge because xorriso does not create UDF filesystems.
  46. EFI boot support in mkisofs is available with the "-eltorito-platform efi" option.
  47. EFI boot support in genisoimage is available for Fedora/RHEL/CentOS (with an -E option). But it is missing in the non modified genisoimage.
  48. Although jigdo is a very usefull tool, the lack of built-in support for it in mkisofs is not a big issue since most users who create jigdo files already know how to use the stand-alone jigdo-file(1) command.
  49. An external POSIX-compliant find command can of course be used with genisoimage, but if the length of its output exceeds the maximum command line lengh, then genisoimage will not get the complete list of files.
  50. The -find option of xorriso is not POSIX-compliant and its syntax is very different from that of the find Unix command.
  51. Error control in mkisofs may be specified with the "errctl=" option.
  52. icedax is not installed with setuid access rights and as a result can only use functions that are available to unpriviledged users. This prevents vendor specific commands that deliver better DAE quality in edge cases.
  53. But using an outdated version of libparanoia that does not work well with todays drives
  54. No support for hidden tracks and other features introduced since 2004
  55. 56.0 56.1 56.2 Support for SunOS-4.1.3 or later, Solaris 2.3 or later and Linux were already present in cdrecord 1.04 which was released on 23 May 1997. (Source: file AN-1.4 of archive cdrecord-1.5a1.tar.gz)
  56. Support for FreeBSD was added on 5 July 1997 to cdrecord-1.5a3. (Source: AN-1.5a3)
  57. 58.0 58.1 58.2 58.3 58.4 cdrecord 1.05, released on 15 September 1997, was the first stable release to support *BSD (FreeBSD, NetBSD and OpenBSD), IRIX and HP-UX.(Source: AN-1.05)
  58. 59.0 59.1 Support for NetBSD and OpenBSD was added on 8 July 1997 to cdrecord-1.5a4. (Source: AN-1.5a4)
  59. Support for IRIX was added on 26 August 1997 to cdrecord-1.5a6. (Source: AN-1.5a6)
  60. Support for HP-UX was added on 1 September 1997 to cdrecord-1.5a7. (Source: AN-1.5a7)
  61. Support for AIX was added on 29 November 1997 to cdrecord 1.6a7. (Source: AN-1.6a7)
  62. First Apple Rhapsody support (binary only) added on 8 February 1998 to cdrecord 1.6a8. (Source: AN-1.6a8)
  63. 64.0 64.1 64.2 Support for Apple Rhapsody, OS X and NeXTSTEP was added on 16 September 1999 to cdrecord 1.8a28. (Source: AN-1.8a28)
  64. 65.0 65.1 65.2 65.3 65.4 65.5 65.6 cdrecord 1.08, released on 28 January 2000, was the first stable release to support OS/2, BeOS, SCO OpenServer, Apple Rhapsody, Mac OS X, NeXTSTEP and QNX. The QNX port, however, does not yet have SCSI transport. (Source: AN-1.08)
  65. Support for BSD/OS was added on 23 August 1998 to cdrecord 1.6.1a1 with a new SCSI transport code. (Source: AN-1.6.1a1)
  66. cdrecord compiles on Windows NT with Cygwin since 23 August 1998. (Source: AN-1.6.1a2)
  67. 68.0 68.1 Support for Windows NT/9x and SCO OpenServer was added to cdrtools/cdrecord 1.8a22 on 13 May 1999 and also works on newer releases of Windows NT. (Source: AN-1.8a22)
  68. cdrtools builds without any patch on Windows with MinGW since 4 January 2014. (Source: AN-3.01a21).
  69. Support for OSF-1 was added on 6 October 1998 to cdrecord 1.6.1a4. (Source: AN-1.6.1a4)
  70. Support for OS/2 was initiated on 22 November 1998 with cdrecord 1.8a11. (Source: AN-1.8a11)
  71. Support for BeOS was added on 6 December 1998 to cdrecord 1.8a14. (Source: AN-1.8a14)
  72. Partial support for QNX (without SCSI transport code) was added on 7 January 2000 to cdrecord 1.8a39 (Source: AN-1.8a39)
  73. Support for SCO UnixWare was added on 26 August 2000 to cdrecord 1.10a03 (Source: AN-1.10a03)
  74. cdrtools builds without any patch on AmigaOS since 18 January 2002. (Source: AN-1.11a13)
  75. Support for DOS/DJGPP was added on 10 December 2003 to cdrtools 2.01a20. (Source: AN-2.01a20)
  76. Support for DragonFly BSD was added on 30 January 2006 to cdrtools 2.01.01a05. (Source: AN-2.01.01a05)
  77. Support for Zeta was added on 9 February 2006 to cdrtools 2.01.01a06. (Source: AN-2.01.01a07)
  78. Support for Atari MiNT was added on 25 December 2008 to cdrtools 2.01.01a54. (Source: AN-2.01.01a54)
  79. 80.0 80.1 Support for Haiku and Syllable was added on 9 March 2009 to cdrtools 2.01.01a58. (Source: AN-2.01.01a58)
  80. Support for OpenVMS was added on 1 November 2009 to cdrtools 2.01.01a67. (Source: AN-2.01.01a67)
  81. cdrtools builds without any patch on Debian GNU/kFreeBSD since 15 August 2012. (Source: AN-3.01a08)
  82. Use Ubuntu packages from Brandon Snider
  83. on macports.org
  84. Support for Blu-ray Discs was added on 4 July 2007 to cdrtools 2.01.01a29. (Source: AN-2.01.01a29)

External links

This article is issued from Wikipedia. The text is available under the Creative Commons Attribution/Share Alike; additional terms may apply for the media files.