Path: utzoo!utgpu!watserv1!watmath!att!att!pacbell.com!ames!sgi!jeremy@perf2.asd.sgi.com From: jeremy@perf2.asd.sgi.com (Jeremy Higdon) Newsgroups: comp.sys.sgi Subject: Re: bug in reading from disk partitions Message-ID: <76400@sgi.sgi.com> Date: 29 Nov 90 07:54:31 GMT References: <1990Nov27.031543.16150@alias.uucp> Sender: guest@sgi.sgi.com Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 13 In article <1990Nov27.031543.16150@alias.uucp>, chk%alias@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.