[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in du running on Linux for a mounted HP-UX filesystem
From: |
Jim Meyering |
Subject: |
Re: Error in du running on Linux for a mounted HP-UX filesystem |
Date: |
15 Jun 2001 12:19:03 +0200 |
User-agent: |
Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.104 |
Thanks for the detailed bug report!
If someone can debug it, that'd be great.
Otherwise, if someone gives me temporary access
to such a system, I'll do it.
Jens Liebehenschel <address@hidden> wrote:
| 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 !?