This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Accessing disk-devices
- To: Jesper Eskilson <jojo at virtutech dot se>
- Subject: Re: Accessing disk-devices
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Thu, 22 Feb 2001 15:01:54 -0500
- CC: cygwin at cygwin dot com
- References: <3A95695F.A9C3BC45@virtutech.se>
- Reply-To: Earnie Boyd <cygwin at cygwin dot com>
Jesper Eskilson wrote:
>
> 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.
>
You mean something like
mount -b //./a: /dev/fd0
mount -b //./c: /dev/hdc
?
Earnie.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple