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

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

