comp.lang.ada
 help / color / mirror / Atom feed
From: "Tarjei Tj�stheim Jensen" <tarjei.jensen@kvaerner.no>
Subject: Re: Reading Unpartitoned Raw Disks w/ Gnat and SunOS 5.6
Date: 1999/06/08
Date: 1999-06-08T00:00:00+00:00	[thread overview]
Message-ID: <7jioug$svn1@ftp.kvaerner.com> (raw)
In-Reply-To: 7jh0j7$18ha@r02n01.cac.psu.edu


Jack W. Sharer wrote in message <7jh0j7$18ha@r02n01.cac.psu.edu>...
>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


You probably need to read up on the read() system call. That should give you a
clue.

I'm sure you could also use streams to read the disks.

The striping is something you will have to work out for yourself.

Greetings,








      parent reply	other threads:[~1999-06-08  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-07  0:00 Reading Unpartitoned Raw Disks w/ Gnat and SunOS 5.6 Jack W. Sharer
1999-06-08  0:00 ` Robert Dewar
1999-06-08  0:00 ` Tarjei Tj�stheim Jensen [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox