From: jqb@netcom.com (Jim Balter)
Subject: Re: du does not find all directories
7 Feb 1997 22:27:53 -0800
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <32FBB251.3C48.cygnus.gnu-win32@netcom.com>
References: <01BC1519.461ECA80@gater.krystalbank.msk.ru>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01Gold (WinNT; I)
Original-To: Sergey Okhapkin <sos@prospect.com.ru>
Original-CC: "'gnu-win32@cygnus.com'" <gnu-win32@cygnus.com>
Original-Sender: owner-gnu-win32@cygnus.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@cygnus.com" with one line of text: "help".
