delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/25/19:11:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <41CE0193.C0740AE0@dessent.net>
Date: Sat, 25 Dec 2004 16:10:59 -0800
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: du reports half of correct file sizes
References: <009a01c4eadb$43448d40$6400000a AT RossLap>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Ross Boulet wrote:
> 
> I saw some old items in the archives (circa 2001) but there
> was not much there about this problem.  The most recent
> version of coreutils seems to have broken du.  The listing
> below illustrates my point:

If you have POSIXLY_CORRECT set in your environment then the default
block size for du is 512 bytes, which is what the posix standard
requires.  Use -b or -k if you want bytes or kbytes, respectively.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019