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

Re: Odd results comparing installed files with rpm package information



LOL!


On Tue, 2004-06-29 at 10:36, Peter Cannon wrote:
> On Tuesday 29 Jun 2004 15:09, Scot L. Harris wrote:
> > 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 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 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?
> 
> Yep! This in actual fact is a recipe for rhubarb and custard which has been 
> converted to binary code! :-)
> 
> -- 
> 
> Regards
> 
> Peter Cannon
> 
> peter cannon-linux freeserve co uk
> 
> "There is every excuse for not knowing!"
> "But there is no excuse for not asking!"
-- 
Scot L. Harris <webid cfl rr com>



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