William A. Rowe, Jr. wrote:

My understanding is that working out the size of a directory is more
expensive than working out what you have left on a filesystem. Is this
correct?

Your understanding would vary widely by the filesystem in place.  HFS,
NTFS, ufs, etc etc all have different performance penalties for this
computation.

For which computation? Size of directory, or disk space free?

If you are ANYWHEREs near filling the same volume as temp, you are already
likely screwed.

Probably, yes.

Regards,
Graham
--

Reply via email to