Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: john@avante.WPI.EDU (John Stoffel)
Subject: Re: Size of raw disks
Date: 1995/09/25	[thread overview]
Message-ID: <x33fdk5334.fsf@avante.WPI.EDU> (raw)
In-Reply-To: puybvdhruz.fsf@themroc.colibri.de

>>>>> "Harald" == Harald Fuchs <hf@colibri.de> writes:
In article <puybvdhruz.fsf@themroc.colibri.de> 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



  reply	other threads:[~1995-09-25  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-25  4:00 Size of raw disks Harald Fuchs
1995-09-25  4:00 ` John Stoffel [this message]
1995-09-25  4:00   ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox