This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Accessing disk-devices
- To: cygwin at cygwin dot com
- Subject: Accessing disk-devices
- From: Jesper Eskilson <jojo at virtutech dot se>
- Date: Thu, 22 Feb 2001 20:32:47 +0100
Hi!
Is there any way of accessing disk-devices under Cygwin (something like
using the "\\.\<physical-device>:" syntax accepted by the Win32 APIs?
Another way around would be to use CreateFile() to open the device and
then convert the HANDLE to a Cygwin file-descriptor. The function
cygwin_attach_handle_to_fd()
looks ok, but I would like it to work in the other direction.
/Jesper
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple