[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error in du running on Linux for a mounted HP-UX filesystem
From: |
Jens Liebehenschel |
Subject: |
Error in du running on Linux for a mounted HP-UX filesystem |
Date: |
Tue, 12 Jun 2001 13:33:25 +0200 (CEST) |
Dear developers,
I want to report an error in the du (disk usage) program.
Configuration:
--------------
SuSE Linux 7.1, Kernel 2.2.18
Mounted filesystem from HP-UX 10.20
du Version: ?, but in the manpage I found:
--- cut ---
GNU fileutils 4.0.35, December 2000
--- cut ---
Error description:
------------------
du reports on HP-UX mounted filesystems (I tried the parameters h, b, c
and m) only about the half of the size of the file(s) in consideration. I
used du on the Linux box with a mounted filesystem from HP-UX. On local
filesystems, du reports the correct size.
Example:
--------
> ls -l file
-rw------- 1 jens sads 20250 Jun 12 12:52 file
> du -h file
10k file
>
Remark:
-------
On Suse Linux 6.2 (kernel 2.2.10) the error does not occur; in the manpage
of du on a Suse Linux 6.2 System I found the following text:
--- cut ---
On BSD systems, du reports sizes that are half the correct
values for files that are NFS-mounted from HP-UX systems.
On HP-UX systems, it reports sizes that are twice the cor
rect values for files that are NFS-mounted from BSD sys
tems. This is due to a flaw in HP-UX; it also affects the
HP-UX du program.
--- cut ---
So, perhaps the correction of this error implied a new error in the
version of du that I use !?
I hope the report is detailed enough. If you need some more information,
please feel free contact me !
Regards
Jens
------------------------------------------------------------------------
Dr. Jens Liebehenschel Phone: 069 / 798-28253
Fachbereich Biologie und Informatik Fax: 069 / 798-28870
Institut für Informatik
Universität Frankfurt
Postfach 11 19 32
D-60054 Frankfurt am Main
Email: address@hidden
WWW: http://boa.sads.informatik.uni-frankfurt.de:8000/jens/jens.html
------------------------------------------------------------------------
- Error in du running on Linux for a mounted HP-UX filesystem,
Jens Liebehenschel <=