delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/07/22:27:53

From: jqb AT netcom DOT com (Jim Balter)
Subject: Re: du does not find all directories
7 Feb 1997 22:27:53 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <32FBB251.3C48.cygnus.gnu-win32@netcom.com>
References: <01BC1519 DOT 461ECA80 AT gater DOT krystalbank DOT msk DOT ru>
Mime-Version: 1.0
X-Mailer: Mozilla 3.01Gold (WinNT; I)
Original-To: Sergey Okhapkin <sos AT prospect DOT com DOT ru>
Original-CC: "'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019