From: lrosa at venus dot it Operating system: Linux Fedora Core 3 PHP version: 5.0.3 PHP Bug Type: Filesystem function related Bug description: disk_free_space() sometimes return Zero in Samba mounted file systems
Description: ------------ I have a Linux box with 20 file system mounted via Samba. Sometimes, randomly, calling disk_free_space() on some file systems it retirns zero instead the real value. Reissuing the same command few minutes later returns the right value. Sometimes happens that the Samba remote filesystem connection is slow, so this may happen. It would be nice if disk_free_space() would return a negative value if it is unable to get the correct value, otherwise it would be impossible to distinguish between a "real" Zero Bytes Free situation and a Temporary Timeout Problem situation. -- Edit bug report at http://bugs.php.net/?id=31969&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31969&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31969&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31969&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31969&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31969&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31969&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31969&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31969&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31969&r=support Expected behavior: http://bugs.php.net/fix.php?id=31969&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31969&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31969&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31969&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31969&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31969&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31969&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31969&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31969&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31969&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31969&r=mysqlcfg
