From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4fdb3e85851627ce X-Google-Attributes: gidfee84,public From: john@avante.WPI.EDU (John Stoffel) Subject: Re: Size of raw disks Date: 1995/09/25 Message-ID: #1/1 X-Deja-AN: 110734943 sender: john@avante.WPI.EDU references: organization: Worcester Polytechnic Institute newsgroups: comp.unix.osf.osf1 >>>>> "Harald" == Harald Fuchs writes: In article hf@colibri.de (Harald Fuchs) writes: Harald> I hope I did RTFM, but I don't see a way how to find out the Harald> size of my disks *from within a program*. I know that I can Harald> do Harald> scu -f /dev/whatever show cap Harald> from the command line, but is there a corresponding system call? You need to look at the getdiskbyname() and disklabel(4) man pages. John John F. Stoffel - john@wpi.edu - 508-831-5512 - FL 111F Workstation Specialist - Worcester Polytechnic Institute College Computer Ctr. Kill your television