> > > > I am interesting in getting the disk space and partition
> > > > in a Java program by using JNI. What is the std UNIX API
> > > > call to do this? I have tried grepping the man pages
> > > > and got the source to kdf program but it didn't help
> > > > because it was executing `/usr/bin/df -k -T' and parsing
> > > > the output. Is there a native portable UNIX system call that
> > > > provides partition information and also disk space size and free
> > > > information?
>

This might be a silly question but:
Why don't you just look at the source code of "df"? I thought the sources 
were always included in GNU software?
You could then take the piece of code found in "df" and use it in your own 
program.

..cu

Jörg

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to