• 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
NSFileManager and Finder disk usage discrepancy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSFileManager and Finder disk usage discrepancy


  • Subject: NSFileManager and Finder disk usage discrepancy
  • From: Jim Turner <email@hidden>
  • Date: Thu, 26 Jan 2006 08:10:48 -0600
  • Thread-topic: NSFileManager and Finder disk usage discrepancy

Hi all... Not sure what I'm missing here.

Using NSFileManager fileSystemAttributesAtPath to query for disk usage and
it's returning values that are not the same as what the Finder reports.
Actually, NSFileManager is returning what the BSD stuff returns with 'df'.

On a 160GB drive, NSFileSystemSize reports 156.16GB while the Finder says
148.92GB.  NSFileSystemFreeSize says 146.09GB while the Finder says 139.32.

Anyone have any ideas on why there is a difference and how I could get the
numbers the Finder is reporting instead of what 'df' reports?

Thanks

--
Jim Turner
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

  • Prev by Date: Re: Knowing whether a tablet is connected and switching modes
  • Next by Date: Re: [SOLVED] TextView Autoresizing Mask problems
  • Previous by thread: Select next field
  • Next by thread: Re: NSFileManager and Finder disk usage discrepancy
  • Index(es):
    • Date
    • Thread