Adjustments with DVD-RAM formatting
This commit is contained in:
@ -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 "April 17, 2008"
|
||||
.TH CDRSKIN 1 "April 22, 2008"
|
||||
.\" Please adjust this date whenever revising the manpage.
|
||||
.\"
|
||||
.\" Some roff macros, for reference:
|
||||
@ -383,6 +383,32 @@ This option treats already formatted media even if not option -force is given.
|
||||
For DVD+RW this is the only supported explicit formatting type. It provides
|
||||
complete "de-icing" so no reader slips on unwritten data areas.
|
||||
.TP
|
||||
format_defectmgt
|
||||
Format DVD-RAM to reserve a generous amount of spare blocks for defect
|
||||
management.
|
||||
.br
|
||||
The following format_defectmgt_* allow to submit user wishes which
|
||||
nevertheless have to match one of the available formats. These formats are
|
||||
offered by the drive after examining the media.
|
||||
.TP
|
||||
format_defectmgt_max
|
||||
Format DVD-RAM to reserve a maximum number of spare blocks.
|
||||
.TP
|
||||
format_defectmgt_min
|
||||
Format DVD-RAM to reserve a minimum number of spare blocks. It might be
|
||||
necessary to format format_defectmgt_none first in order to get
|
||||
offered the most minmal spare blocks sizes for format_defectmgt_min.
|
||||
.TP
|
||||
format_defectmgt_none
|
||||
Format DVD-RAM to the largest available payload in the hope to disable
|
||||
defect management at all. This seems not to have a speed increasing effect,
|
||||
though.
|
||||
.TP
|
||||
format_defectmgt_payload_<size>
|
||||
The text after "format_defectmgt_payload_" gives a number of bytes, eventually
|
||||
with suffixes "s", "k", "m". The largest number of spare blocks will be chosen
|
||||
which allows at least the given payload size.
|
||||
.TP
|
||||
deformat_sequential
|
||||
Like blank=all but with the additional ability to blank overwriteable DVD-RW.
|
||||
This will destroy their formatting and make them sequentially recordable.
|
||||
|
@ -6995,19 +6995,21 @@ set_blank:;
|
||||
skin->preskin->demands_cdrskin_caps= 1;
|
||||
} else if(strncmp(cpt,"format_defectmgt",16)==0) {
|
||||
skin->do_blank= 1;
|
||||
skin->blank_format_type= 4;
|
||||
skin->blank_format_type= 4|(3<<9); /* default payload size */
|
||||
skin->blank_format_size= 0;
|
||||
skin->preskin->demands_cdrskin_caps= 1;
|
||||
if(cpt[16]=='_') {
|
||||
cpt+= 17;
|
||||
if(strcmp(cpt,"none")==0)
|
||||
skin->blank_format_type|= (1<<13);
|
||||
skin->blank_format_type= 4|(1<<13);
|
||||
else if(strcmp(cpt,"max")==0)
|
||||
;
|
||||
skin->blank_format_type= 4; /* smallest payload size above 0 */
|
||||
else if(strcmp(cpt,"min")==0)
|
||||
skin->blank_format_type|= (1<<10);
|
||||
else if(isdigit(*cpt))
|
||||
skin->blank_format_size= Scanf_io_size(cpt,0);
|
||||
skin->blank_format_type= 4|(2<<9); /*largest payload size with mgt*/
|
||||
else if(strncmp(cpt,"payload_",8)==0) {
|
||||
skin->blank_format_size= Scanf_io_size(cpt+8,0);
|
||||
skin->blank_format_type= 4;
|
||||
}
|
||||
}
|
||||
} else if(strcmp(cpt,"deformat_sequential")==0) {
|
||||
skin->do_blank= 1;
|
||||
|
@ -1 +1 @@
|
||||
#define Cdrskin_timestamP "2008.04.18.194602"
|
||||
#define Cdrskin_timestamP "2008.04.22.161139"
|
||||
|
Reference in New Issue
Block a user