This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: du does not find all directories
- To: Sergey Okhapkin <sos at prospect dot com dot ru>
- Subject: Re: du does not find all directories
- From: Jim Balter <jqb at netcom dot com>
- Date: Fri, 07 Feb 1997 14:53:05 -0800
- CC: "'gnu-win32 at cygnus dot com'" <gnu-win32 at cygnus dot com>
- Organization: JQB Enterprises
- References: <01BC1519.461ECA80@gater.krystalbank.msk.ru>
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".