From: Gary DOT Browning AT eng DOT sun DOT com (Gary Browning) Subject: Re: du does not find all directories 6 Feb 1997 19:07:37 -0800 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199702070226.SAA04777.cygnus.gnu-win32@robotics.eng.sun.com> Original-To: scottk AT utig DOT ig DOT utexas DOT edu, evans AT aps DOT anl DOT gov Original-Cc: gnu-win32 AT cygnus DOT com X-Sun-Charset: US-ASCII Original-Sender: owner-gnu-win32 AT cygnus DOT com I do not have gnu-win32 in front of me right now but typically the 'du' command has a '-k' flag that reports the sizes in Kbytes. To verify that this is working, try: du -sk large_file ls -l large_file FYI, last time I used this on gnu-win32 (I do not remember which release), I still was not convinced it was correct. - Gary > From gnu-win32-owner AT cygnus DOT com Thu Feb 6 13:48:03 1997 > Date: Thu, 6 Feb 1997 11:31:34 -0600 > From: Ken Evans > To: scottk AT utig DOT ig DOT utexas DOT edu > CC: gnu-win32 AT cygnus DOT com > Subject: Re: du does not find all directories > > "SK" == Scott Kempf writes: > > >> I find that du finds 335637 (presumably times 512) Bytes on my > >> hard drive. > SK> On my win95 system, the conversion is 2K not 512. I got burned > SK> by the same thing last weekend and I've used enough different > SK> du's to know better. > > SK> Find a large file and do: > > SK> ls -l large_file du -s large_file > > SK> This usually helps (unless it's sparse :-). > > Thanks, will try that, but even at 2K it's only getting 30% of > the files and is missing directories (apparently including the one > that is using all my space :-). > > -Ken > > - > For help on using this list, send a message to > "gnu-win32-request AT cygnus DOT com" with one line of text: "help". > - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".