On Friday 2011-03-25 16:48, Anatoly wrote:

>Why is it logical?

Because the particular disk is full.

>We have 4 GB of free space.

The data returned by `df` or its underlying syscalls is only valid
for the very moment the information was obtained.

Also, other filesystems are not exact either. Consider sshfs,
which has long shown 9999999 or something, because it did not
have the information at all (nowadays it does, but anyway).

Or ext2, which becomes full early on because of the 5% root reservation.

Or for that matter, any extent-based filesystem returns
ENOSPC somewhat prematurely because it still needs some workspace
when actually comitting the data - this is visible in XFS for example.
Extract a tarball, run df, run sync, run df.

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar

Reply via email to