On Wed, 29 Jul 2009, Duncan Patton a Campbell wrote:
I have two x86 machines installed with the 4.5 release,
both with the i386 part of the distribution on disk.
When I use du on some files I get different answers from
these machines. In particular, the install45.iso, thus:
[r...@gate:/home/pub/4.5r/i386] # uname -a
OpenBSD gate.indx.ca 4.5 DGEN#1 i386
[r...@gate:/home/pub/4.5r/i386] # l install45.iso
-r--r--r-- 1 root ftp 239949824 Feb 28 15:41 install45.iso
[r...@gate:/home/pub/4.5r/i386] # md5 install45.iso
MD5 (install45.iso) = fbf83cf24d2649299d55ee482accc025
[r...@gate:/home/pub/4.5r/i386] # which du
/usr/bin/du
[r...@gate:/home/pub/4.5r/i386] # md5 /usr/bin/du
MD5 (/usr/bin/du) = 773853bcf1b4abb6fdca6dacb6f9888d
[r...@gate:/home/pub/4.5r/i386] # du -sk install45.iso
234416 install45.iso
# uname -a
OpenBSD jimg.indx.ca 4.5 GENERIC#1749 i386
# l install45.iso
-r--r--r-- 1 root wheel 239949824 Feb 28 15:41 install45.iso
# md5 install45.iso
MD5 (install45.iso) = fbf83cf24d2649299d55ee482accc025
# which du
/usr/bin/du
# md5 /usr/bin/du
MD5 (/usr/bin/du) = 773853bcf1b4abb6fdca6dacb6f9888d
# du -sk install45.iso
234288 install45.iso
and, if eyes serve correctly, 234416=/=234288
Anyone have a clue what's happening here?
Hint: what is the output from
# mount
from each machine?
Regards,
David
P.S. dumpfs(8) can be your friend too.