bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11316: coreutils 8.16: du


From: Pádraig Brady
Subject: bug#11316: coreutils 8.16: du
Date: Tue, 24 Apr 2012 10:06:52 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0

On 04/24/2012 09:59 AM, address@hidden 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]