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=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,428cedcbc1789ca9 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Reading Unpartitoned Raw Disks w/ Gnat and SunOS 5.6 Date: 1999/06/08 Message-ID: <7jhot5$6cj$1@nnrp1.deja.com>#1/1 X-Deja-AN: 486857669 References: <7jh0j7$18ha@r02n01.cac.psu.edu> X-Http-Proxy: 1.0 x41.deja.com:80 (Squid/1.1.22) for client 166.72.69.177 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Tue Jun 08 00:42:14 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-06-08T00:00:00+00:00 List-Id: In article <7jh0j7$18ha@r02n01.cac.psu.edu>, JSharer@psu.edu (Jack W. Sharer) wrote: > I have two disks that were striped with data by others. These disks are "raw"; > no partitions, no file structure. I would like to process the data on them > using Gnat Ada on a Sun Sparc running SunOS 5.6. How do I read this data? > > The disks show in the tree as /dev/rdsk/c0t3d0s0 > . . . s1 > . . . ... > . . . s7 > and > /dev/rdsk/c0t4d0s0 > . . . s1 > . . . ... > . . . s7 > > Thanks for your help, Jack Sharer, JSharer@psu.edu This is not even vaguely an Ada question, but rather an operating system question, what devices and drivers do you have to read these disks, and how are the drivers accessed? Once these questions are answered, programming the necessary binding in Ada is likely trivial. Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.