[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fileutils-4.1: du reports wrong size on large files
From: |
Matthew Eldridge |
Subject: |
fileutils-4.1: du reports wrong size on large files |
Date: |
Thu, 31 Jan 2002 13:31:52 -0800 |
Hi-
I'm trying to use gnu du, which is installed as gdu on our systems, to
avoid hiding the system du command. The system version deals happily
with large files (> 4GB) but the gnu version does something strange.
For example, on small files:
hpux> ls -l fileutils-4.1.5.tar.gz
-rw-r--r-- 1 eldridge users 2310374 Jan 31 13:11
fileutils-4.1.5.tar.gz
hpux> gdu -k fileutils-4.1.5.tar.gz
2266 fileutils-4.1.5.tar.gz
hpux> du -k fileutils-4.1.5.tar.gz
2266 fileutils-4.1.5.tar.gz
But on big files:
hpux> ls -l
-rw-r--r-- 1 eldridge users 5881824079 Jan 31 13:26 bigfile.bin
hpux> du -k bigfile.bin
5743969 bigfile.bin
hpux> gdu -k bigfile.bin
717997 bigfile.bin
So du is reporting the correct file size, and gdu is reporting the
wrong file size. This is for:
hpux> gdu --version
du (fileutils) 4.1
Written by Torbjorn Granlund, David MacKenzie, Larry McVoy, and Paul Eggert.
Copyright (C) 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
and I'm running on an HP-UX B.11.00 system.
Thanks,
-Matthew
--
Matthew Eldridge, 408/453-8726 x206
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- fileutils-4.1: du reports wrong size on large files,
Matthew Eldridge <=