Re: Detecting low disk space
Re: Detecting low disk space
- Subject: Re: Detecting low disk space
- From: "M. Uli Kusterer" <email@hidden>
- Date: Wed, 14 Apr 2004 19:09:55 +0200
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.