delorie.com/archives/browse.cgi | search |
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 |
Message-Id: | <4.3.1.2.20010222152808.02f1e898@pop.ma.ultranet.com> |
X-Sender: | lhall AT pop DOT ma DOT ultranet DOT com |
X-Mailer: | QUALCOMM Windows Eudora Version 4.3.1 |
Date: | Thu, 22 Feb 2001 15:29:58 -0500 |
To: | Earnie Boyd <cygwin AT cygwin DOT com>, Jesper Eskilson <jojo AT virtutech DOT se> |
From: | "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> |
Subject: | Re: Accessing disk-devices |
In-Reply-To: | <3A957032.380BD5B@yahoo.com> |
References: | <3A95695F DOT A9C3BC45 AT virtutech DOT se> |
Mime-Version: | 1.0 |
At 03:01 PM 2/22/2001, Earnie Boyd wrote: >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 >? Its a good question. I read it as him indicating that he wanted to know if he could use this notation in code using POSIX APIs but I agree the exact scope of the question is unclear. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |