From fb159b8dbd35a9f75684ea5dd472f302acc65c30 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 21 Aug 2010 09:56:16 +0000 Subject: [PATCH] Lifted test reservation on DVD-R DL media. Thanks to Kevin Kieffer for testing. --- cdrskin/cdrskin.1 | 28 +++++++++++++++------------- cdrskin/cdrskin_eng.html | 17 +++++++++++------ cdrskin/cdrskin_timestamp.h | 2 +- libburn/libburn.h | 24 ++++++++++++++++-------- libburn/mmc.c | 9 +-------- 5 files changed, 44 insertions(+), 36 deletions(-) diff --git a/cdrskin/cdrskin.1 b/cdrskin/cdrskin.1 index 24a76b1..0b4df82 100644 --- a/cdrskin/cdrskin.1 +++ b/cdrskin/cdrskin.1 @@ -2,7 +2,7 @@ .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) -.TH CDRSKIN 1 "Jun 10, 2010" +.TH CDRSKIN 1 "Aug 21, 2010" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: @@ -47,7 +47,7 @@ Multi session on CD (follow-up sessions in TAO only) .br or on DVD-R[W] (in Incremental mode) or DVD+R[/DL] or BD-R. .br -Single session on DVD-RW or DVD-R (Disk-at-once). +Single session Disk-at-once on DVD-RW, DVD-R, DVD-R DL. .br Single session or emulated ISO-9660 multi-session .br @@ -166,7 +166,7 @@ needed. .SS .B Sequentially Recordable DVD or BD Media: .br -Currently DVD-RW, DVD-R , DVD+R[/DL], and BD-R can be used for the Sequential +Currently DVD-RW, DVD-R[DL], DVD+R[DL], and BD-R can be used for the Sequential recording model. It resembles the model of CD media. Only DVD-RW can be blanked and re-used from scratch. .br @@ -186,8 +186,8 @@ of recognizable size or the size has to be announced explicitly by options or .B tao_to_sao_tsize= . .br -DAO is the only mode for media which do not offer feature 21h Incremental -Streaming. DAO may also be selected explicitly by option +DAO is the only mode for DVD-R media which do not offer feature 21h Incremental +Streaming (e.g. DVD-R DL). DAO may also be selected explicitly by option .B -sao . Program growisofs uses DAO on sequential DVD-R[W] media for maximum DVD-ROM/-Video compatibility. @@ -198,7 +198,7 @@ Incremental Streaming may be selected explicitly by option .B -tao as it resembles much CD TAO by allowing track sources of unpredicted length and to keep media appendable by option -.B -multi . +.B -multi . It does not work with DVD-R DL and minimally blanked DVD-RW. The only restriction towards CD-R[W] is the lack of support for -audio tracks. Multiple tracks per session are permissible. .br @@ -659,7 +659,8 @@ Without it the disc gets closed and may not be written any more - unless it is a -RW and gets blanked which causes loss of its content. .br The following sessions can only be written in -tao mode. -multi is prohibited -with DVD-R[W] DAO write mode. Option --prodvd_cli_compatible eventually makes +with DVD-R[W] DAO write mode and on DVD-R DL media. +Option --prodvd_cli_compatible eventually makes -multi tolerable but cannot make it work. .br In order to have all filesystem content accessible, the eventual ISO-9660 @@ -753,6 +754,8 @@ Mode -tao can be used with track sources of unpredictable size, like standard input or named pipes. It is also the only mode that can be used for writing to appendable media which already hold data. With unformatted DVD-R[W] it is the only mode which allows -multi. +.br +Mode -tao is not usable for minimally blanked DVD-RW and for DVD-R DL. .TP .BI \-toc Print the table of content (TOC) which describes the tracks recorded on disc. @@ -1090,12 +1093,11 @@ This option is only needed for revoking eventual --ignore_signals or .TP .BI \--allow_untested_media Enable the use of media profiles which have been implemented but not yet -tested. Currently this applies to : +tested. Currently this option is without effect because no media types are +under test reservation. .br -Profile 0015h , DVD-R/DL Sequential (will not allow -multi). -.br -If you really test such media, then please report the outcome on -libburn-hackers@pykix.org +(If you really test experimental media, then please report the outcome on +libburn-hackers@pykix.org) .TP .BI dev_translation= Set drive address alias. This was necessary before cdrskin-0.2.4 to manually @@ -1265,7 +1267,7 @@ cdrskin -v dev=/dev/hdc speed=12 fs=8m \\ .br blank=as_needed -eject padsize=300k my_image.iso .SS -.B Write compressed afio archive on-the-fly (not possible with minimally blanked DVD-RW): +.B Write compressed afio archive on-the-fly (not possible with minimally blanked DVD-RW or DVD-R DL): .br find . | afio -oZ - | \\ .br diff --git a/cdrskin/cdrskin_eng.html b/cdrskin/cdrskin_eng.html index 2bad38f..4864dc3 100644 --- a/cdrskin/cdrskin_eng.html +++ b/cdrskin/cdrskin_eng.html @@ -2,7 +2,7 @@ - + cdrskin homepage english @@ -24,7 +24,8 @@

Purpose:

Burns preformatted data to CD, DVD, and BD media:
-CD-R, DVD-R, DVD+R, DVD+R/DL, BD-R, CD-RW, DVD-RW, DVD-RAM, DVD+RW, BD-RE +CD-R, DVD-R, DVD-R DL, DVD+R, DVD+R DL, BD-R, CD-RW, +DVD-RW, DVD-RAM, DVD+RW, BD-RE

@@ -95,10 +96,11 @@ Ports to other usable systems are appreciated. Reports are welcome.

The most common options of cdrecord for data and audio on CD media are provided in a compatible way.
-On all DVD media except DVD-R DL, cdrskin is able to perform any recording job +On all DVD media, cdrskin is able to perform any recording job which is possible with cdrecord. Other than with cdrecord, option -multi is supported with many DVD types and -BD-R. Write mode -tao works with anything but quickly blanked DVD-RW. +BD-R. Write mode -tao works with anything but quickly blanked DVD-RW and +DVD-R DL, which both support no -multi.


Get an overview of drives and their addresses
@@ -131,7 +133,8 @@ On Solaris it is r-permission and privileges "basic,sys_devices".
$ cdrskin -v dev=/dev/hdc speed=12 fs=8m \
  blank=as_needed -eject padsize=300k my_image.iso
-
Write compressed afio archive on-the-fly:
+
Write compressed afio archive on-the-fly +(not DVD-R DL or minimally blanked DVD-RW):
$ find . | afio -oZ - | \
  cdrskin -v dev=0,1,0 fs=32m speed=8 \
  blank=as_needed padsize=300k -
@@ -275,7 +278,9 @@ Bug fixes towards cdrskin-0.8.2.pl00:

Development snapshot, version 0.8.5 :

Enhancements towards current stable version 0.8.4.pl00:
    -
  • none yet
  • +
  • +Lifted test reservation on DVD-R DL media. +
  • diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index ead261c..f87d341 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2010.08.13.114139" +#define Cdrskin_timestamP "2010.08.21.095456" diff --git a/libburn/libburn.h b/libburn/libburn.h index 3100e74..9766148 100644 --- a/libburn/libburn.h +++ b/libburn/libburn.h @@ -828,7 +828,7 @@ void burn_preset_device_open(int exclusive, int blocking, int abort_on_busy); /* ts A70223 */ /** Allows the use of media types which are implemented in libburn but not yet tested. The list of those untested profiles is subject to change. - Currently it contains: 0x15 "DVD-R/DL sequential recording", + - Currently no media types are under test reservation - If you really test such media, then please report the outcome on libburn-hackers@pykix.org If ever then this call should be done soon after burn_initialize() before @@ -1296,16 +1296,20 @@ off_t burn_disc_available_space(struct burn_drive *d, /** Tells the MMC Profile identifier of the loaded media. The drive must be grabbed in order to get a non-zero result. libburn currently writes only to profiles - 0x09 "CD-R", 0x0a "CD-RW", - 0x11 "DVD-R sequential recording", 0x12 "DVD-RAM", - 0x13 "DVD-RW restricted overwrite", 0x14 "DVD-RW sequential recording", - 0x1a "DVD+RW", 0x1b "DVD+R", + 0x09 "CD-R" + 0x0a "CD-RW" + 0x11 "DVD-R sequential recording" + 0x12 "DVD-RAM" + 0x13 "DVD-RW restricted overwrite" + 0x14 "DVD-RW sequential recording", + 0x15 "DVD-R/DL sequential recording", + 0x1a "DVD+RW" + 0x1b "DVD+R", 0x2b "DVD+R/DL", - 0x41 "BD-R sequential recording", 0x43 "BD-RE", + 0x41 "BD-R sequential recording", + 0x43 "BD-RE", 0xffff "stdio file" Note: 0xffff is not a MMC profile but a libburn invention. - If enabled by burn_allow_untested_profiles() it also writes to profiles - 0x15 "DVD-R/DL sequential recording", Read-only are the profiles 0x08 "CD-ROM", 0x10 "DVD-ROM", 0x40 "BD-ROM", @@ -2194,6 +2198,10 @@ void burn_write_opts_set_mediacatalog(struct burn_write_opts *opts, unsigned cha /* ts A61106 */ /** Sets the multi flag which eventually marks the emerging session as not being the last one and thus creating a BURN_DISC_APPENDABLE media. + Note: DVD-R[W] in write mode BURN_WRITE_SAO are not capable of this. + DVD-R DL are not capable of this at all. + libburn will refuse to write if burn_write_opts_set_multi() is + enabled under such conditions. @param opts The option object to be manipulated @param multi 1=media will be appendable, 0=media will be closed (default) @since 0.2.6 diff --git a/libburn/mmc.c b/libburn/mmc.c index 40ae3c1..5b5321e 100644 --- a/libburn/mmc.c +++ b/libburn/mmc.c @@ -1744,12 +1744,6 @@ static int mmc_read_disc_info_al(struct burn_drive *d, int *alloc_len) d->erasable = 0; /* never erasable */ } - /* ts A80207 : DVD - R DL can normally be read but not be written */ - if(d->current_profile == 0x15 && !burn_support_untested_profiles) { - disc_status = 2; /* always full and finalized */ - d->erasable = 0; /* never erasable */ - } - #ifdef Libburn_support_bd_r_readonlY /* <<< For now: declaring BD-R read-only */ @@ -2517,8 +2511,7 @@ static int mmc_get_configuration_al(struct burn_drive *d, int *alloc_len) #ifdef Libburn_support_dvd_r_seQ if (cp == 0x11 || cp == 0x14) /* DVD-R, DVD-RW */ d->current_is_supported_profile = 1; - if (cp == 0x15) /* DVD-R/DL . */ - /* Writeable only if burn_support_untested_profiles */ + if (cp == 0x15) /* DVD-R/DL */ d->current_is_supported_profile = 1; #endif #ifdef Libburn_support_dvd_plus_R