Re: again How to get the block size of the disk

1999-11-03 Thread Jeff Hogg
OTECTED]> Date: Wednesday, November 03, 1999 12:05 PM Subject: again How to get the block size of the disk >What I need is to get such information through the function call, not through >the command line. So that I can put it in my program. My Program needs that. > >Scott Skrogsta

again How to get the block size of the disk

1999-11-03 Thread Jiang XU
What I need is to get such information through the function call, not through the command line. So that I can put it in my program. My Program needs that. Scott Skrogstad wrote: > Just type df -k and that will show you all the mounted partitions and > there sizes.. > > Scott Skrogstad > >

Re: again How to get the block size of the disk

1999-01-02 Thread Steve Borho
On Thu, Nov 04, 1999 at 09:55:39AM +, Thomas Ribbrock Design/DEG" wrote: > On Wed, Nov 03, 1999 at 10:46:08AM -0700, Jiang XU wrote: > > What I need is to get such information through the function call, not through > > the command line. So that I can put it in my program. My Program needs tha

Re: again How to get the block size of the disk

1999-01-02 Thread Thomas Ribbrock \(Design/DEG\)
On Wed, Nov 03, 1999 at 10:46:08AM -0700, Jiang XU wrote: > What I need is to get such information through the function call, not through > the command line. So that I can put it in my program. My Program needs that. I'm not 100% sure, but might "stat()" ("man stat" for details) be what you need