Discussion:
[Cdrdao-devel] OS level device locking under Cygwin
Mitch Wiygul
2008-02-05 12:51:48 UTC
Permalink
I've been trying to get the device locking working under Cygwin on
Windows XP.

I get the 'Unable to determine drive letter for device...' message
whenever I run cdrdao 1.2.2 under Cygwin. It turns out that the call to
CreateFile is failing with error code 32, a sharing violation.

I've tried to determine whether any other process has a handle open on
the drive by using Sysinternals' Process Explorer but didn't find
anything.

My system has two burners in it; the same thing happens with both of
them. The CreateFile call only fails for the drive that has a disc in
it (the one I want to burn with); it works for the empty drive.

Is this a known bug or does anyone have any hints?

Thanks,

Mitch
Giuseppe "Cowo" Corbelli
2008-02-08 09:59:39 UTC
Permalink
Post by Mitch Wiygul
I've been trying to get the device locking working under Cygwin on
Windows XP.
I get the 'Unable to determine drive letter for device...' message
whenever I run cdrdao 1.2.2 under Cygwin. It turns out that the call to
CreateFile is failing with error code 32, a sharing violation.
I've tried to determine whether any other process has a handle open on
the drive by using Sysinternals' Process Explorer but didn't find
anything.
My system has two burners in it; the same thing happens with both of
them. The CreateFile call only fails for the drive that has a disc in
it (the one I want to burn with); it works for the empty drive.
Is this a known bug or does anyone have any hints?
Twas me who wrote this code, long long time ago :-)
However I only tested it under windows 2000. I can setup a cygwin environment
and give it a try but I make no promises on the timing.
--
Giuseppe "Cowo" Corbelli ~\/~ My software: http://cowo.yoda2000.net
-<! Non c'e' niente da dire in proposito. Tutto quello che uno deve fare e'
colpire i tasti giusti al momento giusto, e lo strumento suona da solo. !>-
J.S. Bach
Loading...