From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00,FAKE_REPLY_C, MAILING_LIST_MULTI,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,29e0b02504ecfa9c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-29 05:14:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!deine.net!freenix!enst!enst.fr!not-for-mail From: Mike Brenner Newsgroups: comp.lang.ada Subject: Re: Reading raw disks (Windows) Date: Mon, 29 Apr 2002 08:13:21 -0400 Organization: none Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1020082442 27461 137.194.161.2 (29 Apr 2002 12:14:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 29 Apr 2002 12:14:02 +0000 (UTC) Return-Path: X-Mailer: Mozilla 4.79 [en]C-20020130M (Windows NT 5.0; U) X-Accept-Language: en Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:23213 Date: 2002-04-29T08:13:21-04:00 >> Is there any way to open a raw disk for reading under Windows? For FAT formatted disks, you might be able to use the old Alsys DOS Ada Compiler whose runtime library allows you to read and write the sectors of a disk as if the entire disk were a single random access file (which it is). To do it on the more modern window formats probably requires a Ring 0 Device Driver to do it for you using the Game SDK or its replacement, and then have Ada use the C Interface to call that device driver.