From 533f4f61eae537817b39bfcc3334c0ffed2f5ba4 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 8 Jan 2007 10:44:34 +0000 Subject: [PATCH] Using 128 MB of size plus writing of zeros with blank=format_overwrite --- libburn/trunk/cdrskin/cdrskin.1 | 4 ++-- libburn/trunk/cdrskin/cdrskin.c | 12 +++++++++++- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin.1 b/libburn/trunk/cdrskin/cdrskin.1 index 6b811d74..c0fd9071 100644 --- a/libburn/trunk/cdrskin/cdrskin.1 +++ b/libburn/trunk/cdrskin/cdrskin.1 @@ -198,8 +198,8 @@ fast Minimally blank an entire CD. .TP format_overwrite -Format a DVD-RW to "Restricted Overwrite". -(Not an original cdrecord option.) +Format a DVD-RW to "Restricted Overwrite". The user should bring some patience. +(Note: this is not an original cdrecord option.) .RE .TP .BI \-checkdrive diff --git a/libburn/trunk/cdrskin/cdrskin.c b/libburn/trunk/cdrskin/cdrskin.c index 3237f5c7..3d1d7254 100644 --- a/libburn/trunk/cdrskin/cdrskin.c +++ b/libburn/trunk/cdrskin/cdrskin.c @@ -2903,6 +2903,16 @@ int Cdrskin_abort_handler(struct CdrskiN *skin, int signum, int flag) ClN(fprintf(stderr, "\ncdrskin_debug: ABORT : [%d] Thread rejected: pid=%d, signum=%d\n", skin->control_pid,getpid(),signum)); + +#ifdef Not_yeT + /* >>> find more abstract and system independent way to determine + signals which make no sense with a return */ + if(signum==11) { + Cleanup_set_handlers(NULL,NULL,1); /* allow abort */ + return(0); /* let exit */ + } +#endif /* Not_yeT */ + return(-2); /* do only process the control thread */ } if(skin->preskin->abort_handler==3) @@ -4021,7 +4031,7 @@ unsupported_with_dvd_minus_rw:; #ifdef Cdrskin_libburn_has_burn_disc_formaT } else if(do_format==1) { - burn_disc_format(drive,(off_t) 0,0); + burn_disc_format(drive,(off_t) 128*1024*1024,1); #endif } else { diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 75b6ba72..cea7f9e4 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2007.01.08.104222" +#define Cdrskin_timestamP "2007.01.08.104407"