• 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: Obtain available disk space?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Obtain available disk space?


  • Subject: Re: Obtain available disk space?
  • From: Will Mason <email@hidden>
  • Date: Sun, 6 Nov 2005 18:01:54 -0800 (PST)

getfsstat(2) will tell you everything about free and used space on all mounted volumes, however determining which mounted file system is the "main partition" is up to you.  Perhaps someone else can offer advice on how to determine which is the main partition.

 Cheers,
 Will

----- Original Message ----
From: Julian Cain <email@hidden>
To: Apple Mailing List <email@hidden>
Sent: Tue Sep 13 15:11:43 2005
Subject: Obtain available disk space?

Hi,
I am looking for an API to obtain the amount of disk space left on
the main partition of a system. I link against carbon too, so that is
ok if it is carbon calls. Can anyone lead me in the right direction,
or even better have a function that already does this?

Cheers
~J
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Obtain available disk space?
      • From: Darkshadow <email@hidden>
  • Prev by Date: [ANN] QuickLite 1.5.6 is now available
  • Next by Date: AMViewAnimation—An NSView Category for Easy Animation
  • Previous by thread: [ANN] QuickLite 1.5.6 is now available
  • Next by thread: Re: Obtain available disk space?
  • Index(es):
    • Date
    • Thread