delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
X-Envelope-To: | cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <36F78B05.E5E4CF17@hotmail.com> |
Date: | Tue, 23 Mar 1999 13:37:25 +0100 |
From: | John Mullee <jmullee AT hotmail DOT com> |
Organization: | <http://www.exmachina.net/> Ex Machina Interactive Architects |
X-Mailer: | Mozilla 4.51 [en] (WinNT; I) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | Serguei DACHIAN <Serguei DOT Dachian AT univ-lemans DOT fr> |
CC: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Re: Again about physical disks. |
References: | <1 DOT 5 DOT 4 DOT 32 DOT 19990323112345 DOT 00678700 AT lola DOT univ-lemans DOT fr> |
Serguei DACHIAN wrote: > > > P.S. Your readme say that some feateres are for NT only. Does it mean > > > that i will not be able to read /dev/fd0 and/or /dev/hda ??? > > Sorry, I haven't noticed, you're on a Win9X system. The used > So what finally these all means: is there no ANY way to read a physical > sector from a physical disk under CygWin on a Win9x system ??? This is a known 'feature' of w95; the article "PRB: DeviceIoControl Int 13h Does Not Support Hard Disks" <http://support.microsoft.com/support/kb/articles/q137/1/76.asp> describes the problem and presents the code for a workaround. It's *ugly* - you have to use 'flat thunks'. So the short answer is *yes*, you can read disk-blocks from cygwin-compiled code, but *no*, it's not easy, and you'll need to be significantly motivated.... john -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |