• 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
NSFileSystemFreeSize troubles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSFileSystemFreeSize troubles


  • Subject: NSFileSystemFreeSize troubles
  • From: stupidFish programming <email@hidden>
  • Date: Mon, 3 Feb 2003 15:47:13 +0100

Hi, the following function call gives me incorrect free space values
for my startup disk, but works great for every other disk or
partition. any ideas?

thanks,
ben

NSLog(@"%6.2f GB Free", [[[[NSFileManager defaultManager]
fileSystemAttributesAtPath:@"/"] objectForKey:NSFileSystemFreeSize]
floatValue]/1024/1024/1024);
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSFileSystemFreeSize troubles
      • From: Hamish Allan <email@hidden>
  • Prev by Date: Re: Low-cost Application Icons
  • Next by Date: getFileSystemInfoForPath troubles
  • Previous by thread: How to get a NSColor right?
  • Next by thread: Re: NSFileSystemFreeSize troubles
  • Index(es):
    • Date
    • Thread