GNU bug report logs - #11316
coreutils 8.16: du

Previous Next

Package: coreutils;

Reported by: <andreas.quitzow <at> lhsystems.com>

Date: Mon, 23 Apr 2012 15:27:03 UTC

Severity: normal

Tags: moreinfo

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 11316 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: andreas.quitzow <at> lhsystems.com
Cc: eggert <at> cs.ucla.edu, 11316 <at> debbugs.gnu.org
Subject: Re: bug#11316: coreutils 8.16: du
Date: Tue, 24 Apr 2012 10:06:52 +0100
On 04/24/2012 09:59 AM, andreas.quitzow <at> lhsystems.com wrote:
> Hello Paul,
> 
>  
> 
> to make tusc-output a little more readable I removed all the syscalls
> around lib-loading and gave "du" only a single file:
> 
> # ls -als inspection_item.lst
> 
> 1282246 -rw-r-----   1 xxx      xxx        1312994526 Apr 24 01:07
> inspection_item.lst
> 
>  
> 
> As you can see, HP-UX ls -s outputs 1k blocks while Files on Solaris
> NFS-Servers and Files on local Volumes are reported in 512 Byte blocks.

Could be related to this comment:

/* HP-UX counts st_blocks in 1024-byte units.
   This loses when mixing HP-UX and BSD file systems with NFS.  */

at:

http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/stat-size.h;hb=HEAD#l82

cheers,
Pádraig.




This bug report was last modified 6 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.