Newsgroups: comp.sys.sgi
Path: utzoo!censor!geac!alias!dino!chk
From: chk%alias@csri.toronto.edu (C. Harald Koch)
Subject: Re: bug in reading from disk partitions
Message-ID: <1990Dec3.151353.21737@alias.uucp>
Sender: news@alias.uucp (USENET News)
Reply-To: chk%alias@csri.toronto.edu (C. Harald Koch)
Organization: Alias Research, Inc. Toronto ON Canada
References: <1990Nov27.031543.16150@alias.uucp> <76400@sgi.sgi.com>
Date:  3 Dec 90 15:17:32 GMT

In <76400@sgi.sgi.com> jeremy@perf2.asd.sgi.com (Jeremy Higdon) writes:

>The partition information is in the disk label (the first 512 bytes of
>the volume header (??????vh) partition).  See /usr/include/sys/dvh.h and
>vh(7m) for more info.

Do you have any idea how non-portable that is? It depends too much on both
the hardware platform and the OS version.

At the risk of driving the dagger deeper into SGI's heart, it works fine on
both the RS/6000 and a Sun running 3.5... Perhaps you should consider fixing
the driver in the next release?

As pointed out to me by several people, The easy fix is to remember where I
am while reading. When I get a read error, seek back to that position and
read the rest of the disk using smaller blocks.

While this works, it is a hideous kludge.

--
C. Harald Koch  VE3TLA                Alias Research, Inc., Toronto ON Canada
chk%alias@csri.utoronto.ca      chk@gpu.utcs.toronto.edu      chk@chk.mef.org
"Open the Zamboni! We're coming out!" - Kathrin Garland and Anson James, 2299
