[Top][All Lists]

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

Possible Bug in ls(1)

From: Siegmund Schliewe
Subject: Possible Bug in ls(1)
Date: Sun, 21 Mar 2004 16:01:52 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1


i use Debian V3.0r1 on 2 machines with nfs-kernel-server package.
I create an DVD-Isoimage with mkisofs via nfs on the first machine.
On the second machine i have mounted the filesystem from the first machine.
I have monitoring the filesize on the second machine with ls(1) in the mounted filesystem. I have found out, if the filesize < 4GB from mkisofs the ls (1) told the right value. But over 4GB the ls(1) command told the wrong value via nfs! Locally the ls(1) told the right value
also df and du command are right.

Please have a look of follow output:
on the first machine:

morgana:/archives# ls -l
total 4715784
-rw-r--r--    1 root     root     4824236032 Mar 21 15:32 sun.iso
morgana:/archives# du -sk
4715788 .
morgana:/archives# df -k
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda2              7874560   5258740   2215804  71% /
                     21565124  11975680   8493980  59% /mnt

On the second machine:

mephisto:/backup# ls -l
total 4715784
-rw-r--r--    1 root     root     529268736 Mar 21 15:32 sun.iso
mephisto:/backup# du -sk
4715788 .
mephisto:/backup# df -k
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda9              2952716   1530256   1272468  55% /
/dev/hda12             5905500   5356336    249176  96% /home
/dev/hda14             1968588   1878868         0 100% /music
/dev/hda16            21565124  11975680   8493980  59% /mnt
morgana:/archives      7874560   5258744   2215800  71% /backup

Please check the possible bug and tell me the solution

Best Regards,
Siegmund Schliewe

reply via email to

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