delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/22/15:22:39

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A957032.380BD5B@yahoo.com>
Date: Thu, 22 Feb 2001 15:01:54 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Jesper Eskilson <jojo AT virtutech DOT se>
CC: cygwin AT cygwin DOT com
Subject: Re: Accessing disk-devices
References: <3A95695F DOT A9C3BC45 AT virtutech DOT se>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019