bug in reading from disk partitions
C. Harald Koch
chk%alias at csri.toronto.edu
Tue Dec 4 02:17:32 AEST 1990
In <76400 at sgi.sgi.com> jeremy at 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 at csri.utoronto.ca chk at gpu.utcs.toronto.edu chk at chk.mef.org
"Open the Zamboni! We're coming out!" - Kathrin Garland and Anson James, 2299
More information about the Comp.sys.sgi
mailing list