[PHP-DEV] disktotalspace() From: Jon Parise (jon <email protected>)
Date: 05/14/01

Does anyone object to my adding a new function disktotalspace()?

A friend of mine ran into a situation where he required an
OS-independent means of determining the amount of free space on a
filesystem (meaning executing and parsing 'df -k' wasn't going to
cut it).

PHP already has diskfreespace(), so I see no reason why it can't
also have disktotalspace().

His patch is attached. If no one objects, I'll commit this in a
day or two (along with documentation, which I have yet to write).

-- 
Jon Parise (jon <email protected>)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>