This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: du reports half of correct file sizes


Ross Boulet wrote:
> 
> I saw some old items in the archives (circa 2001) but there
> was not much there about this problem.  The most recent
> version of coreutils seems to have broken du.  The listing
> below illustrates my point:

If you have POSIXLY_CORRECT set in your environment then the default
block size for du is 512 bytes, which is what the posix standard
requires.  Use -b or -k if you want bytes or kbytes, respectively.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]