Английская Википедия:Cdrtools

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short description Шаблон:Use dmy dates Шаблон:Lowercase Шаблон:Infobox software

cdrtools (formerly known as cdrecord) is a collection of independent projects of free software/open source computer programs.

The project was maintained for over two decades by Jörg Schilling, who died on October 10, 2021.[1][2]

Because of some licensing issues,[3] there is also a Debian fork of an older version of cdrtools called cdrkit.

Features

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. As these tools do not include any GUI, many graphical front-ends have been created.

The collection includes many features for CD, DVD and Blu-ray disc writing such as:

History

Origins 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. A copy of mkisofs, created in 1993 by Eric Youngdale for Yggdrasil Linux, was incorporated in 1997.[5][6] In 1998, a copy of an experimental version of cdda2wav, created by Heiko Eißfeldt[7][6] was included in the cdrecord package.[8][9]

In 1999 the project started to be called cdrtools[10][8][11] to better reflect the fact that it had become a collection of tools.

DVD and Blu-ray disc writing support

DVD writing support (cdrecord-ProDVD) in cdrecord started in early 1998, at the request of the data archivists of the European Southern Observatory.[12][13][14]Шаблон:Discuss But since the relevant information required a non-disclosure agreement and DVD writers were not publicly available, it was not included in the source code.Шаблон:Cn In 2002, Jörg Schilling started offering free license keys to the closed-source variant cdrecord-ProDVD for educational, and research use, shortly thereafter also for private use.[15][16] Unregistered free licenses were initially limited to single-speed writing and would expire every year.[16] On 15 May 2006, support for DVD writing was added to the open-source version 2.01.01a09 after switching the license to CDDL; thereby removing the need to get a license key.[15][17] Blu-ray disc support was added starting 2007.[18]

The lack of open-source DVD writing support in 2001 led to heated discussions on the mailing lists,[15] and to a number of unofficial patches for supporting the Pioneer DVD-R A03, the first DVD writer to reach mass market, and forks of cdrecord: Mandrake shipped a version called cdrecord-dvdhack,[19] whereas Redhat had dvdrecord.[20]

Hardware access controversy

Unlike cdrkit and libburnia, which use device files to access the hardware, cdrtools uses a different method known as CAM (for Common Access Method),[21] which is available on many operating systems, including some which lack device files or only allow the kernel to access them. This difference has turned into a controversy: some Linux users claim that the method used by cdrtools is not appropriate, while some Linux users claim that the users of cdrtools do not need to know which method is used.Шаблон:Citation needed

In cdrtools, burning optical media (such as CDs, DVDs and Blu-rays discs) is done through the SCSI interface. Users of systems with more than one burning device need to provide a SCSI device (which is identified by a triplet of numbers, scsibus,target,lun). Users of systems with only one burning device, however, do not need to specify the SCSI device since cdrtools is able to find it. By 2002 more and more burners were using the ATAPI interface. Linux 2.6 allowed the users to detect the SCSI ID of a device from its UNIX device path (/dev/hdX) and a patch was published that made identifying the burner device for cdrecord simpler by allowing the user to specify the /dev/hdX device name (or even default to a udev managed link such as /dev/cdrw). Schilling, however, rejected this approach as well as other modifications used by Linux distributions, with the rationale that it would make the software more complex and less portable as this function was not available on other UNIX systems.[22] Linus Torvalds states that SCSI LUNs should not be used for addressing devices on Linux,[23] because these numbers are not unique,[23] and do not make sense for many devices anymore[24] (many devices will report 0:0:0 fake numbers[24]). Instead Torvalds recommends that devices should be addressed via their UUID, physical connection, or an alias symlink[24] as managed by udev on Linux. Torvalds pointed out that the ioctl's have been kept to ensure cdrecord compatibility[25] and do not return a meaningful value.[26]

License compatibility controversy

By 2004, Linux distributions were maintaining a number of unofficial changesШаблон:Snd such as allowing the use of /dev/hdX device names and (limited) DVD writing supportШаблон:Snd that were rejected by Schilling,[22] who repeatedly demanded that distributions stop shipping "bastardized and defective" versions of his "legal original software".[27] Starting with version 2.01.01a09 in May 2006, most code from cdrtools has been relicensed under the CDDL, while mkisofs remains licensed under the GPL.[28] This change led to an ongoing disagreement about whether distribution or use of precompiled cdrtools binaries is legally possible (the GPL permits collective works, but not derivative works; and the Makefiles used to build mkisofs are CDDL licensed). The following are one-sentence summaries of the different positions:

  • Jonathan Corbet, founder of the LWN.net news source argued that this change makes it impossible to legally distribute cdrtools binaries, because the build system used is CDDL licensed (interpreting cdrtools as derivative work of GPL and – GPL-incompatible – CDDL code) and the GPL requires "build tools and scripts also be released under the GPL".[29]
  • Jörg Schilling denied there was a license problem in cdrtools. In his interpretation, it consisted of independent works and thus has not mixed incompatible licenses (i.e. it is a collective work, not a derivative work). According to his interpretation, binary versions may be distributed.[30]
  • Fedora says the cdrtools is a "incompatible mix of the GPL and the CDDL"[31] and Schilling's opinion is a "set of unorthodox opinions on licensing which are not shared by the FSF or Red Hat Legal"[31] and thus cdrtools is forbidden on Fedora.
  • Fedora's legals also proposed three solutions to solve license incompatibility (adding some sort of GPL linking exception, replace CDDL with GPL-compatible license, or dual-licensing CDDL/GPL[32]) and consequently available to re-open discussion about including cdrtools.
  • As is common with the GPL and other open source licenses, very little case law exists to provide guidance to users and provide a definitive answer on whether binary versions are distributable.

As a result of this controversy:

  • Debian,[33] Red Hat,[34] Fedora[32] and Ubuntu[35] dropped the versions of cdrtools with CDDL code from their distributions and switched to the Debian project created cdrkit, a fork of the last GPL-licensed cdrtools version.[36]
  • Jörg Schilling continued to develop his version of cdrtools under the CDDL and GPL (mkisofs) licenses until he died in 2021, whereas the cdrkit fork has received next to no updates since Cdrkit 1.1.11, which was released in 2010.
  • Independent development efforts happen in libburnia which does not contain cdrtools source code, but includes a wrapper "cdrskin" to offer some command line compatibility with cdrecord and is available in many Linux distributions.
  • Gentoo Linux is unaffected, as the potential licensing issue only affects the distribution of precompiled binaries and this distribution compile from source code. It initially offers both versions, as well as libburnia, dropping cdrkit in 2017.[37]
  • Slackware only provided cdrtools (build script for cdrkit is available from SlackBuild.org,[38] but the two packages could not co-exists); libburnia was introduced in November 2020 as needed by KDE Plasma 5.[39]
  • Mandriva Linux, which had dropped its cdrtools package in 2007,[40] was returned by Mandriva to the community[41] and became OpenMandriva Lx, which ships the original cdrtools.[42]
  • openSUSE, which had dropped its customized cdrtools package in 2007,[43] added back the original cdrtools in Fall 2013.[44][45]
  • Since building cdrtools from source is widely accepted as legal, there exist compile instructions for many Linux distributions.[46]

Inclusion into toolset Schily-Tools

Cdrtools are part of Jörg Schilling's toolset Schily-Tools which was originally distributed on SourceForge.[47]

Schilling stopped updating the cdrtools-only alpha and stable branch in 2017 with version 3.02a9;[48] version 3.02a10 and higher are only included in the source package schilytools.

The "Schily" Tool Box is a set of tools written or managed by Jörg Schilling. It includes the programs: cdrecord, cdda2wav, readcd, mkisofs, smake, bsh, btcflash, calc, calltree, change, compare, count, devdump, dmake based on SunPro Make, hdump, isodebug, isodump, isoinfo, isovfy, label, mt, obosh, od, p, POSIX patch, pbosh, sccs, scgcheck, scpio, sdd, sfind, sformat, smake, sh/bosh (Bourne sh), star, star_sym, strar, suntar, gnutar, tartest, termcap, and ved.

The final version of Schily-Tools published by Jörg Schilling himself is the 2021-09-18 release.[49] After his death, development of Schily-Tools has been taken up by a group of volunteers. Instead of hosting it on SourceForge, it is hosted on a-not-for-profit platform, Codeberg. To mark his passing, his cdrtools final version, 3.02a10 (where the a indicates the software is semantically alpha) was declared to be the new stable version 3.02 with no substantial changes.[50]

Version history

Version history of cdrtools
Project name Preview releases Stable release Notes
first last version date
cdrecord 1.00 1996-02-04
1.01 1996-10-04
1.02 1996-12-20
1.03 1997-05-16
1.04 1997-05-23
1.5a1 1.5a9 1.05 1997-09-15
1.6a01 1.6a15 1.06 1998-04-18
1.6.1a1 1.6.1a7 1.06.1 1998-10-19
1.8a01 1.8a40 1.08 2000-01-28
1.8.1a01 1.8.1a09 1.08.1 2000-04-27
1.9a01 1.9a05 1.09 2000-07-20
cdrtools 1.10a01 1.10a19 1.10 2001-04-22
1.11a01
2.0pre1
1.11a40
2.0pre3
2.00 2002-12-25 DVD-Video support since July 2002.[51]
2.00.3 2003-05-28
2.01a01 2.01a38 2.01 2004-09-09 This series was the last GPL-licensed version and was used as base for the fork cdrkit.
2.01.01a01 2.01.01a80 3.00[52][53] 2010-06-02 In May 2006, most parts of cdrtools were switched to the CDDL.[28] Blu-ray support is available since July 2007[54]
3.01a01 3.01a31 3.01[4] 2015-08-26[4]
3.02a01 3.02a09[55] 3.02 2022-09-18 DVD-Audio support since December 2015.[56]

See also

Шаблон:Portal

Forks

Software that can use cdrtools

References

Шаблон:Reflist

External links

Шаблон:Optical disc image software

  1. Шаблон:Cite web
  2. Шаблон:Cite web
  3. Шаблон:Cite web
  4. 4,0 4,1 4,2 Шаблон:Cite web
  5. Шаблон:Cite web
  6. 6,0 6,1 Шаблон:Cite web
  7. Шаблон:Cite web
  8. 8,0 8,1 Шаблон:Cite web
  9. Шаблон:Cite web
  10. Шаблон:Cite web
  11. Шаблон:Cite web
  12. Шаблон:Cite web
  13. Шаблон:Cite web
  14. Шаблон:Cite web
  15. 15,0 15,1 15,2 Шаблон:Cite web
  16. 16,0 16,1 Шаблон:Cite web
  17. Шаблон:Cite web
  18. Шаблон:Cite web
  19. Шаблон:Cite web shows that Mandrake maintained a "cdrecord-dvdhack" version.
  20. Шаблон:Cite web
  21. Шаблон:Cite web
  22. 22,0 22,1 Шаблон:Cite web
  23. 23,0 23,1 Шаблон:Cite web
  24. 24,0 24,1 24,2 Шаблон:Cite web
  25. Шаблон:Cite web
  26. Шаблон:Cite web
  27. Шаблон:Cite web
  28. 28,0 28,1 The license change took place on 15 May 2006, when cdrtools-2.01.01a09 was released. (Source: AN-2.01.01a09)
  29. Шаблон:Cite web
  30. Шаблон:Cite web
  31. 31,0 31,1 Шаблон:Cite web
  32. 32,0 32,1 Шаблон:Cite web
  33. Шаблон:Cite web
  34. Шаблон:Cite web
  35. Шаблон:Cite web
  36. Шаблон:Cite web
  37. Шаблон:Cite web
  38. Шаблон:Cite web
  39. Шаблон:Cite web
  40. Шаблон:Cite web
  41. Шаблон:Cite web
  42. Packages of cdrtools for OpenMandriva Lx are available from both the OpenMandriva Association at github.com and RosaLabs's auto build farms at abf.rosalinux.ru
  43. Шаблон:Cite web
  44. Шаблон:Cite web
  45. Шаблон:Cite web
  46. Шаблон:Cite web
  47. "The official Shily-Tools project website:" http://schilytools.sourceforge.net/
  48. Шаблон:Cite web
  49. Шаблон:Cite web
  50. Шаблон:Cite web
  51. Full DVD-Video support (in mkisofs), contributed by Olaf Beck, was added to preview release 1.11a27 on 21 July 2002 (Source: AN-1.11a27) and to stable release 2.00 on 25 December 2002 (Source: AN-2.00)
  52. Шаблон:Cite web
  53. Шаблон:Cite web
  54. Support for Blu-ray Discs was added on 4 July 2007 to cdrtools 2.01.01a29. (Source: AN-2.01.01a29)
  55. Ошибка цитирования Неверный тег <ref>; для сносок latest preview не указан текст
  56. DVD-Audio support (in mkisofs), contributed by the DVD audio Tools project Шаблон:Em dashcredits to authors Jerome Brock and Fabrice Nicol are in source file mkisofs/udf.cШаблон:Em dash and available in the external packages folder of dvda-author as a patch against cdrtools 3.00, has been refreshed and included in cdrtools 3.02a04 on 16 December 2015. (Source: AN-3.02a04)
  57. Шаблон:Cite web
  58. Шаблон:Cite web (This was the last release of dvdrtools before the project was abandoned.)
  59. Шаблон:Cite web