Re: Problem with the fwrite function (not as simple as it sounds though)
| From: | Curt Zirzow | Date: | Sun, 20 Nov 2005 17:26:37 +0000 |
| Subject: | Re: Problem with the fwrite function (not as simple as it sounds though) | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226157@lists.php.net to get a copy of this message | ||
On Sun, Nov 20, 2005 at 09:26:15AM -0700, Suhas wrote:
> This is not a disk usage as it works when script is run from terminal as su\
root can break the 100% barrier, it usually can get around 110%.
curt@took:/tmp> df -h /tmp
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1e 248M 8.2M 220M 4% /tmp
curt@took:/tmp> cat /dev/random > foobar
/tmp: write failed, filesystem is full
cat: stdout: No space left on device
curt@took:/tmp> df -h /tmp
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1e 248M 228M 8.0K 100% /tmp
curt@took:/tmp> su
curt@took:/tmp# cat /dev/random > foobar
/tmp: write failed, filesystem is full
cat: stdout: No space left on device
curt@took:/tmp# df -h /tmp
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1e 248M 248M -20M 109% /tmp
Curt.
--
cat: .signature: No such file or directory