NSFileManager and Finder disk usage discrepancy
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