>From: egor duda <[EMAIL PROTECTED]>

>Wednesday, 18 December, 2002 Giuseppe Corbelli [EMAIL PROTECTED] wrote:

>GC> On Tue, Dec 17, 2002 at 06:52:13PM +0300, egor duda wrote:
>GC> ... 
>>> As a side note, sometime ago i've sent you a patch that works on
>>> WinNT/2000/XP systems and which locks the CD drive from being
>>> concurrently accessed by those unfriendly applications during write.
>GC> ...
>GC> Recently I've done the same job in cdrdao. I did not send a patch here
>GC> 'cause cdrecord is in feature freeze. But I'd like very much to have a look
>GC> at your patch.

>diff -Nup2 ../../cdrtools-1.11/cdrecord/Makefile ./Makefile
>--- ../../cdrtools-1.11/cdrecord/Makefile       Mon Jun 18 10:39:35 2001
>+++ ./Makefile  Thu Oct 11 17:53:40 2001
>@@ -19,5 +19,5 @@ CFILES=               cdrecord.c cd_misc.c fifo.c iso
>                drv_simul.c \
>                scsi_scan.c scsi_cdr.c \
>-               modes.c misc.c crc16.c
>+               modes.c misc.c crc16.c wnt_lock_drive.c
> HFILES=                cdrecord.h iso9660.h auheader.h scsi_scan.h \
>                scsimmc.h \
>diff -Nup2 ../../cdrtools-1.11/cdrecord/cdrecord.c ./cdrecord.c
>--- ../../cdrtools-1.11/cdrecord/cdrecord.c     Tue Sep  4 15:04:29 2001
>+++ ./cdrecord.c        Thu Oct 11 17:53:40 2001
>@@ -52,4 +52,5 @@ static        char sccsid[] =
> #include <scg/scgcmd.h>                /* XXX fuer read_buffer */
> #include "scsi_scan.h"
>+#include "wnt_lock_drive.h"
> 
> #include "auheader.h"
>@@ -226,4 +227,5 @@ main(ac, av)
>        SCSI    *scgp;
>        char    errstr[80];
>+       long    drive_handle = -1;
> 

Now I remember why I might have lost the patch:

The patch does not belong into cdrecord (but rather into libscg).

As I am planning to have access/locking support for the Volume Manager on 
Solaris, I need to rethink how to do it (as a general solution) as the solaris
volume manager works different.....

J�rg

 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]               (uni)  If you don't have iso-8859-1
       [EMAIL PROTECTED]           (work) chars I am J"org Schilling
 URL:  http://www.fokus.fhg.de/usr/schilling   ftp://ftp.berlios.de/pub/schily


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to