This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: du returns inconsistent results
- From: Paul Shabash <pshabash at altair dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Thu, 11 Feb 2010 02:44:13 -0500
- Subject: RE: du returns inconsistent results
Hello,
When I run "du -b dir" several times with the same directory as input, sometimes I get a smaller size the first time I run it than the subsequent times I run it. ?I.e. the second, third, fourth, etc. try will all return identical sizes, but the first is smaller.
The difference in size is always a multiple of 4096.
Doesn't happen if the input is a file.? Only if it's a directory. The more subdirectories it has, the larger the difference.
Does anyone know what might be causing this?
The error appears using either cygwin 1.7.1-1 or 1.5, on both Windows Vista & on Windows 7.
It does NOT happen on Windows XP with cygwin 1.5, though.
(Yes, I know there was a question on this list with a similar subject, but the question was different.)
Thank you.
Paul
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple