bug in reading from disk partitions

Jeremy Higdon jeremy at perf2.asd.sgi.com
Thu Nov 29 18:54:31 AEST 1990


In article <1990Nov27.031543.16150 at alias.uucp>, chk%alias at csri.toronto.edu (C. Harald Koch) writes:
> 
> If it were important, I would like to write a program to figure out the size
> of the partition and copy exactly the right amount of data, but I don't know
> how to figure out the raw size of a partition. Can anyone at SGI tell me how
> to do this?
>

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.





More information about the Comp.sys.sgi mailing list