论坛风格切换切换到宽版
  • 549阅读
  • 2回复

[问题求助][RedHat] rpm -V验证功能的疑问,请大家帮忙看看 [复制链接]

上一主题 下一主题
离线62712345.
 
发帖
2088
C币
-306683
威望
380
贡献值
1
银元
-3
铜钱
4663
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
请大家帮忙看看

[r.oot@TE_LAB ~]# rpm -Vf /e.tc/inittab服务器
..5....T c ./etc/inittab            杀毒
S.5....T c /etc/rc.d/rc.loc.a.l              乙肝
[root@TE_LAB .~]# echo bbbbbba >>/usr/s.hare/doc/ruby-mode-1.8.5/README[成人用品]
[root@TE_LA.B ~]# rpm -Vf /usr/share/doc/ruby-mode-1.8.5/README            .   <==========为什么这里验证是失.败的           女人
[root@TE_LA.B ~]# echo $?.
0
[root@.TE_LAB ~]#.

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线ft16.
发帖
2054
C币
-198567
威望
421
贡献值
2
银元
0
铜钱
4653
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-14
Re:[RedHat]
自己顶,没有人能解答吗?
可能的答案是: doc的文件不属于要验证的文件范围吧!期待高手解答ing

发帖
1977
C币
-152657
威望
342
贡献值
1
银元
0
铜钱
4441
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-14
Re:[RedHat]
rpm {-V|--verify} [select-options] [verify-options]

       Verifying a package compares information about the installed files in the package with information about the files  taken  from  the
       package metadata stored in the rpm database.  Among other things, verifying compares the size, MD5 sum, permissions, type, owner and
       group of each file.  Any discrepancies are displayed.  Files that were not installed from the package,  for  example,  documentation
       files excluded on installation using the "--excludedocs" option, will be silently ignored.

       The  package  selection options are the same as for package querying (including package manifest files as arguments).  Other options
       unique to verify mode are:
快速回复
限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
上一个 下一个