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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01Gold (WinNT; I) Original-To: Sergey Okhapkin Original-CC: "'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. -- - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".