• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Detect free space
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Detect free space (From: "Jan E. Schotsman" <email@hidden>)

  • Prev by Date: Changing IP Address and Config method using the System configurat ion framework.
  • Next by Date: Re: Changing IP Address and Config method using the System configurat ion framework.
  • Previous by thread: Detect free space
  • Next by thread: Changing IP Address and Config method using the System configurat ion framework.
  • Index(es):
    • Date
    • Thread