Re: Detecting low disk space
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.