This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: du does not find all directories


Sergey Okhapkin wrote:

> >      And it still doesn't get all the bytes and directories, but it
> > looks like 2K is the magic number, -k or not.
> 
> It seems to me, 2K is your cluster size. Am I right?

No.  du and ls always report the number of 1K blocks / 2,
because they expect st_blocks in the stat structure to contain the
number of 512-byte blocks.  I've already explained this elsewhere.

--
<J Q B>
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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