Some bragging about DVD+RW

This commit is contained in:
Thomas Schmitt 2006-12-21 21:46:58 +00:00
parent 14f4e8c8d9
commit 1ae27b6afc
6 changed files with 47 additions and 24 deletions

View File

@ -146,22 +146,17 @@ It is not checked for the necessary degree of hacker safety.
Get an overview of cdrecord style addresses of available devices
cdrskin -scanbus
cdrskin dev=ATA -scanbus
cdrskin --devices
Note: Adresses reported with dev=ATA are to be used with prefix "ATA:". You may
well use device file addresses as reported with --devices. Examples:
dev=0,1,0 dev=/dev/sg1 dev=ATA:1,0,0 dev=/dev/hdc
See also "Drive Addressing".
Note: Address numbers have changed since cdrskin-0.2.2 in order to become
compatible with cdrecord numbers. To get the old number scheme, use
option --old_pseudo_scsi_adr . See also "Pseudo-SCSI Adresses".
Sorry for any inconvenience.
Adresses reported with dev=ATA need prefix "ATA:". Address examples:
dev=0,1,0 dev=ATA:1,0,0 dev=/dev/sg1 dev=/dev/hdc
See also "Drive Addressing" below.
Obtain some info about the drive
cdrskin dev=0,1,0 -checkdrive
Obtain some info about the drive and the inserted media
cdrskin dev=0,1,0 -atip
cdrskin dev=0,1,0 -atip -v
Thoroughly blank a CD-RW
cdrskin -v dev=0,1,0 blank=all -eject
@ -169,11 +164,11 @@ Thoroughly blank a CD-RW
Blank CD-RW sufficiently for making it ready for overwrite
cdrskin -v dev=0,1,0 blank=fast -eject
Burn image file my_image.iso to CD
cdrskin -v dev=0,1,0 speed=12 fs=8m -sao driveropts=burnfree padsize=300k \
Burn image file my_image.iso to CD or DVD+RW
cdrskin -v dev=0,1,0 speed=12 fs=8m driveropts=burnfree padsize=300k \
-eject my_image.iso
Burn a compressed afio archive to CD on-the-fly
Burn a compressed afio archive to CD or DVD+RW on-the-fly
find . | afio -oZ - | cdrskin -v dev=0,1,0 fs=32m speed=8 -tao \
driveropts=burnfree padsize=300k -
@ -217,6 +212,8 @@ Many cdrecord options are still unsupported, though.
If you have use cases for them, please report your wishes and expectations.
DVD support is still immature and restricted to DVD+RW for now.
Inspiration and Standard
@ -373,6 +370,16 @@ I myself am not into audio. So libburn-hackers@pykix.org might be the
best address for suggestions, requests and bug reports.
DVD+RW
DVD+RW media get treated as blank media regardless wether they hold data
or not. Options -audio and -multi are not allowed. Only one track is allowed.
-toc does not return information about the media content.
Speed is counted in DVD units (i.e. 1x = 1,385,000 bytes/second). Currently
there is no difference between -sao and -tao. If ever, then -tao will be the
mode which preserves the current behavior.
Special compilation variations
You may get a (super fat) statically linked binary by :

View File

@ -16,7 +16,7 @@
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
cdrskin \- burns preformatted data to CD-R or CD-RW via libburn.
cdrskin \- burns preformatted data to CD-R, CD-RW or DVD+RW via libburn.
.SH SYNOPSIS
.B cdrskin
.RI [ options | track_source_addresses ]
@ -35,16 +35,18 @@ You do not need to be superuser for its daily usage.
.br
Blanking of CD-RW.
.br
Burning of data or audio tracks to CD.
Burning of data or audio tracks to CD,
.br
Either in versatile Track at Once mode (TAO)
either in versatile Track at Once mode (TAO)
.br
or in Session at Once mode for seamless tracks.
.br
Multi session (follow-up sessions in TAO only).
Multi session on CD (follow-up sessions in TAO only).
.br
Bus scan, burnfree, speed options, retrieving media info, padding, fifo.
.br
Burning of a single data track to DVD+RW.
.br
See section EXAMPLES at the end of this text.
.PP
.B Track recording model:
@ -100,6 +102,16 @@ round of overwriting. Blanking damages the previous content but does not
make it completely unreadable. It is no effective privacy precaution.
Multiple cycles of blanking and overwriting with random numbers might be.
.PP
.B Recordable DVD Media:
.br
Currently only type DVD+RW can be burned via cdrskin.
DVD+RW media get treated as blank media regardless wether they hold data
or not. Options -audio and -multi are not allowed. Only one track is allowed.
-toc does not return information about the media content.
Speed is counted in DVD units (i.e. 1x = 1,385,000 bytes/second). Currently
there is no difference between -sao and -tao. If ever, then -tao will be the
mode which preserves the current behavior.
.PP
.B Drive preparation and addressing:
.br
The drives, either CD burners or DVD burners, are accessed via addresses which
@ -559,13 +571,13 @@ cdrskin dev=/dev/hdc padsize=300k -multi -tao 3.afio
.br
cdrskin dev=/dev/hdc padsize=300k -tao 4.afio
.SS
.B Get the multi-session info for option -C of program mkisofs:
.B Get CD multi-session info for option -C of program mkisofs:
.br
c_values=$(cdrskin dev=/dev/sr0 -msinfo 2>/dev/null)
.br
mkisofs ... -C "$c_values" ...
.SS
.B Write audio tracks:
.B Write audio tracks to CD:
.br
cdrskin -v dev=ATA:1,0,0 speed=48 \\
.br

View File

@ -1970,7 +1970,7 @@ set_dev:;
printf("\n");
printf("Usage: %s [options|source_addresses]\n", argv[0]);
printf("Burns preformatted data to CD-R or CD-RW via libburn.\n");
printf("Burns preformatted data to CD-R, CD-RW or DVD+RW via libburn.\n");
printf("For the cdrecord compatible options which control the work of\n");
printf(
"blanking and burning see output of option -help rather than --help.\n");
@ -2908,7 +2908,7 @@ int Cdrskin_abort_handler(struct CdrskiN *skin, int signum, int flag)
if(skin->grabbed_drive!=NULL)
drive_status= burn_drive_get_status(skin->grabbed_drive,&p);
if(drive_status!=BURN_DRIVE_IDLE) {
fprintf(stderr,"cdrskin: ABORT : Abort processing depends on CD speed and buffer size\n");
fprintf(stderr,"cdrskin: ABORT : Abort processing depends on speed and buffer size\n");
fprintf(stderr,"cdrskin: ABORT : Usually it is done with 4x speed after about a MINUTE\n");
fprintf(stderr,"cdrskin: URGE : But wait at least the normal burning time before any kill -9\n");
}
@ -2974,7 +2974,7 @@ int Cdrskin_abort_handler(struct CdrskiN *skin, int signum, int flag)
"cdrskin: ABORT : Will wait for current operation to end\n");
}
if(drive_status!=BURN_DRIVE_IDLE) {
fprintf(stderr,"cdrskin: ABORT : Abort processing depends on CD speed and buffer size\n");
fprintf(stderr,"cdrskin: ABORT : Abort processing depends on speed and buffer size\n");
fprintf(stderr,"cdrskin: ABORT : Usually it is done with 4x speed after about a MINUTE\n");
fprintf(stderr,"cdrskin: URGE : But wait at least the normal burning time before any kill -9\n");
}
@ -3754,7 +3754,7 @@ int Cdrskin_atip(struct CdrskiN *skin, int flag)
printf("Current: CD-R\n");
}
if(strstr(profile_name,"DVD")==profile_name) {
printf("book type: %s (emulated)\n", profile_name);
printf("book type: %s (emulated booktype)\n", profile_name);
} else {
printf("ATIP info from disk:\n");
if(burn_disc_erasable(drive)) {

View File

@ -229,6 +229,7 @@ Enhancements towards previous stable version cdrskin-0.2.4:
<LI>Improved recognition of unsuitable media types</LI>
<LI>Ban of chmod u+s is replaced by a loud warning</LI>
<LI>Detailed man page (already backported to cdrskin-0.2.6.pl02)</LI>
<LI>Burning to DVD+RW as non-multi, non-appending, single-track session</LI>
</UL>
</DD>
<DD>&nbsp;</DD>

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2006.12.21.205702"
#define Cdrskin_timestamP "2006.12.21.214641"

View File

@ -7,6 +7,8 @@
Libburnia is an open-source project for reading, mastering and writing
optical discs. For now this means only CD-R and CD-RW.
Support for DVD+RW is emerging.
The project comprises of several more or less interdependent parts which
together strive to be a usable foundation for application development.
@ -82,6 +84,7 @@ libburner is a minimal demo application for the library libburn
(see: libburn/libburn.h) as provided on http://libburn.pykix.org .
It can list the available devices, can blank a CD-RW and
can burn to CD-R or CD-RW.
New: burning to DVD+RW (single data track, single session only).
It's main purpose, nevertheless, is to show you how to use libburn and also
to serve the libburnia team as reference application. libburner does indeed