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 Message-Id: <1.5.4.32.19990321231321.00679558@lola.univ-lemans.fr> X-Sender: sdachian AT lola DOT univ-lemans DOT fr X-Mailer: Windows Eudora Light Version 1.5.4 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 22 Mar 1999 00:13:21 +0100 To: cygwin AT sourceware DOT cygnus DOT com From: Serguei DACHIAN Subject: Reading physical disks. Hi, everybody. I need to read a physiacl sector from a physical disk (say /dev/hda). Under UNIX/POSIX the way to do it whould be just to "fopen" the "/dev/hda" and to "fread" from it. Under CygWin (B20.1 on Win98) this doesn't work. Indeed /dev/hd* don't exist (not even visible by ls). As to dev/fd*, even if visible by ls, they are inacessible neither by "fopen", nor from bash prompt by "dd", "cp", etc. Under DOS, the way to read a physiacl sector from a physical disk whould rather be using the function "biosdisk" (interfaced by "bios.h"), but this one is not present under CygWin at all. So, is there at least a way to read a physiacl sector from a physical disk under CygWin gcc, or not???!!! HELP, I am lost. Best regards, Serguei. ___________________________________________________________________________ Serguei DACHIAN Laboratoire de Statistique et Processus, Universite du Maine, Av. Olivier Messiaen 72085 Le Mans CEDEX 9, FRANCE Tel. : +33 (0)2 43 83 37 18 Fax. : +33 (0)2 43 83 35 79 E-mail : Serguei DOT Dachian AT univ-lemans DOT fr WWW : http://www.univ-lemans.fr/sciences/statist/cvs/thesard.html#dachian -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com