• 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: Detecting low disk space
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting low disk space


  • Subject: Re: Detecting low disk space
  • From: Peter <email@hidden>
  • Date: Thu, 15 Apr 2004 11:11:47 +0800

Thanks Uli for the information. I have been to your website before, it is very good !

Keep up the good work !


Best Regards,

Peter



On Apr 15, 2004, at 1:09 AM, M. Uli Kusterer wrote:

At 18:03 Uhr +0800 09.04.2004, Peter wrote:
My question is there a way to detect low disk space or 'true' disk space left ?

Peter,

under a multi-tasking OS, detecting how much disk space is available right now is actually rather pointless. Another application may use up the disk space while you are writing to your file.

You may want to simply attempt to create a file of the full size right away and then slowly fill that with your data, overwriting the garbage that may be there. That way, no other app can take your precious bytes away from you.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.


References: 
 >Detecting low disk space (From: Peter <email@hidden>)
 >Re: Detecting low disk space (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Re: Install Program for Completed App
  • Next by Date: Associating a library created file with my application
  • Previous by thread: Re: Detecting low disk space
  • Next by thread: NSUserDefaults NSCombobox sharedUserDefaults and bindings
  • Index(es):
    • Date
    • Thread