Re: Detect free space
Re: Detect free space
- Subject: Re: Detect free space
- From: Peter Bierman <email@hidden>
- Date: Mon, 16 May 2005 13:00:54 -0700
At 9:08 AM +0200 5/14/05, Jan E. Schotsman wrote:
Anyway, what is the best strategy to find out about free space,
either on local or network volumes, any file system?
% man statfs
struct statfs {
...
long f_bsize; /* fundamental file system block size */
long f_bfree; /* free blocks in fs */
long f_bavail; /* free blocks avail to non-superuser */
...
PS: I recommend the Omni Group's MacOSX-dev mailing list for general
Mac OS X dev questions:
<http://www.omnigroup.com/mailman/listinfo/macosx-dev>
-pmb
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden