delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/07/09:17:06

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: du does not find all directories
7 Feb 1997 09:17:06 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BC1519.461ECA80.cygnus.gnu-win32@gater.krystalbank.msk.ru>
Original-To: "'Ken Evans'" <evans AT aps DOT anl DOT gov>
Original-Cc: "'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>
Encoding: 35 TEXT
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Ken Evans wrote:
>C:\WINDOWS>dir system.bad
> 
>  Volume in drive C is SEAGATE
>  Volume Serial Number is 155D-07CF
>  Directory of C:\WINDOWS
> 
> SYSTEM   BAD       994,684  11-17-96  3:06p SYSTEM.BAD
>          1 file(s)        994,684 bytes
>          0 dir(s)     264,503,296 bytes free
> 
> C:\WINDOWS>du system.bad
> 486     system.bad
> 
> C:\WINDOWS>ls system.bad
> system.bad
> 
> C:\WINDOWS>ls -l system.bad
> -rw-r--r--   1 500      everyone   994684 Nov 17 15:06 system.bad
> 
> C:\WINDOWS>du -sk system.bad
> 486     system.bad
> 
> C:\WINDOWS>
> 
>      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?

-- 
Sergey Okhapkin
Moscow, Russia
Looking for a job.


-
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