Odd results comparing installed files with rpm package information

Scot L. Harris webid at cfl.rr.com
Tue Jun 29 14:09:21 UTC 2004


I would like to ask for some help understanding the information I am
seeing on a FC2 system.

If I do an ls of say /usr/bin/vim as follows:

[root at sys root]# ls -al /usr/bin/vim
-rwxr-xr-x  1 root root 2077400 Apr  7 06:30 /usr/bin/vim

and then do a rpm -q --dump vim-enhanced as follows:

[root at ds2 root]# rpm -q --dump vim-enhanced
/etc/profile.d/vim.csh 13 1081333835 1f26ff8ae76565efa8a8bada7f3a4b9e
0100755 root root 1 0 0 X
/etc/profile.d/vim.sh 181 1081333835 fca2984c13cc21b51aefe32e8f07da9c
0100755 root root 1 0 0 X
/usr/bin/ex 3 1081333834 00000000000000000000000000000000 0120777 root
root 0 0 0 vim
/usr/bin/rvim 3 1081333834 00000000000000000000000000000000 0120777 root
root 0 0 0 vim
/usr/bin/vim 2071700 1081333839 db9006780239b03107684022d7f6aaee 0100755
root root 0 0 0 X
/usr/bin/vimdiff 3 1081333834 00000000000000000000000000000000 0120777
root root 0 0 0 vim
/usr/bin/vimtutor 1600 1081333833 fe1b22a87b7cc6dd9d2d126d641da861
0100755 root root 0 0 0 X
/usr/share/man/man1/rvim.1.gz 8 1081333835
00000000000000000000000000000000 0120777 root root 0 1 0 vim.1.gz
/usr/share/man/man1/vimdiff.1.gz 688 1081333833
f695833c2d4f22944f4dc17649fdb096 0100644 root root 0 1 0 X
/usr/share/man/man1/vimtutor.1.gz 666 1081333834
d77cc03c3633742da13f37579e86c919 0100644 root root 0 1 0 X

I believe the second column contains the files size as recorded in the
rpm database.  However in the above example the file size reported in
the rpm database for /usr/bin/vim is 2071700.  The ls -l reports
2077400.

Am I looking at this wrong?



-- 
Scot L. Harris
webid at cfl.rr.com

"Lead us in a few words of silent prayer."
-- Bill Peterson, former Houston Oiler football coach 





More information about the fedora-list mailing list