标签:version leo new ipv6 err ssm rpm2cpio sdn index
rpm包内的文件想要查看是哪些文件分别处于安装后的什么路径,可以用rpm2cpio先将rpm包转换为cpio压缩包;
然后再使用cpio命令将压缩包的内容还原出来;操作如下:
pubut@m620:~/rpm$ ls
rsyslog-5.8.10-10.el6_6.i686.rpm
pubut@m620:~/rpm$ mkdir test; cd test; rpm2cpio ../rsyslog-5.8.10-10.el6_6.i686.rpm | cpio -idv
./etc/logrotate.d/syslog
./etc/pki/rsyslog
./etc/rc.d/init.d/rsyslog
./etc/rsyslog.conf
./etc/rsyslog.d
./etc/sysconfig/rsyslog
./lib/rsyslog
./lib/rsyslog/imfile.so
./lib/rsyslog/imklog.so
./lib/rsyslog/immark.so
./lib/rsyslog/impstats.so
./lib/rsyslog/imptcp.so
./lib/rsyslog/imtcp.so
./lib/rsyslog/imudp.so
./lib/rsyslog/imuxsock.so
./lib/rsyslog/lmnet.so
./lib/rsyslog/lmnetstrms.so
./lib/rsyslog/lmnsd_ptcp.so
./lib/rsyslog/lmregexp.so
./lib/rsyslog/lmstrmsrv.so
./lib/rsyslog/lmtcpclt.so
./lib/rsyslog/lmtcpsrv.so
./lib/rsyslog/lmzlibw.so
./lib/rsyslog/ommail.so
./lib/rsyslog/omprog.so
./lib/rsyslog/omruleset.so
./lib/rsyslog/omtesting.so
./lib/rsyslog/omuxsock.so
./lib/rsyslog/pmlastmsg.so
./sbin/rsyslogd
./usr/share/doc/rsyslog-5.8.10
./usr/share/doc/rsyslog-5.8.10/AUTHORS
./usr/share/doc/rsyslog-5.8.10/COPYING
./usr/share/doc/rsyslog-5.8.10/COPYING.ASL20
./usr/share/doc/rsyslog-5.8.10/COPYING.LESSER
./usr/share/doc/rsyslog-5.8.10/ChangeLog
./usr/share/doc/rsyslog-5.8.10/NEWS
./usr/share/doc/rsyslog-5.8.10/README
./usr/share/doc/rsyslog-5.8.10/bugs.html
./usr/share/doc/rsyslog-5.8.10/build_from_repo.html
./usr/share/doc/rsyslog-5.8.10/contributors.html
./usr/share/doc/rsyslog-5.8.10/debug.html
./usr/share/doc/rsyslog-5.8.10/dev_queue.html
./usr/share/doc/rsyslog-5.8.10/droppriv.html
./usr/share/doc/rsyslog-5.8.10/expression.html
./usr/share/doc/rsyslog-5.8.10/features.html
./usr/share/doc/rsyslog-5.8.10/generic_design.html
./usr/share/doc/rsyslog-5.8.10/gssapi.html
./usr/share/doc/rsyslog-5.8.10/history.html
./usr/share/doc/rsyslog-5.8.10/how2help.html
./usr/share/doc/rsyslog-5.8.10/im3195.html
./usr/share/doc/rsyslog-5.8.10/imfile.html
./usr/share/doc/rsyslog-5.8.10/imgssapi.html
./usr/share/doc/rsyslog-5.8.10/imklog.html
./usr/share/doc/rsyslog-5.8.10/impstats.html
./usr/share/doc/rsyslog-5.8.10/imptcp.html
./usr/share/doc/rsyslog-5.8.10/imrelp.html
./usr/share/doc/rsyslog-5.8.10/imsolaris.html
./usr/share/doc/rsyslog-5.8.10/imtcp.html
./usr/share/doc/rsyslog-5.8.10/imuxsock.html
./usr/share/doc/rsyslog-5.8.10/index.html
./usr/share/doc/rsyslog-5.8.10/install.html
./usr/share/doc/rsyslog-5.8.10/ipv6.html
./usr/share/doc/rsyslog-5.8.10/licensing.html
./usr/share/doc/rsyslog-5.8.10/log_rotation_fix_size.html
./usr/share/doc/rsyslog-5.8.10/manual.html
./usr/share/doc/rsyslog-5.8.10/mmsnmptrapd.html
./usr/share/doc/rsyslog-5.8.10/modules.html
./usr/share/doc/rsyslog-5.8.10/multi_ruleset.html
./usr/share/doc/rsyslog-5.8.10/netstream.html
./usr/share/doc/rsyslog-5.8.10/ns_gtls.html
./usr/share/doc/rsyslog-5.8.10/ns_ptcp.html
./usr/share/doc/rsyslog-5.8.10/omlibdbi.html
./usr/share/doc/rsyslog-5.8.10/ommail.html
./usr/share/doc/rsyslog-5.8.10/ommysql.html
./usr/share/doc/rsyslog-5.8.10/omoracle.html
./usr/share/doc/rsyslog-5.8.10/omrelp.html
./usr/share/doc/rsyslog-5.8.10/omruleset.html
./usr/share/doc/rsyslog-5.8.10/omsnmp.html
./usr/share/doc/rsyslog-5.8.10/omstdout.html
./usr/share/doc/rsyslog-5.8.10/omudpspoof.html
./usr/share/doc/rsyslog-5.8.10/omuxsock.html
./usr/share/doc/rsyslog-5.8.10/pmlastmsg.html
./usr/share/doc/rsyslog-5.8.10/property_replacer.html
./usr/share/doc/rsyslog-5.8.10/queues.html
./usr/share/doc/rsyslog-5.8.10/queues_analogy.html
./usr/share/doc/rsyslog-5.8.10/rainerscript.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_actionexeconlywhenpreviousissuspended.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_actionresumeinterval.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_allowedsender.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_controlcharacterescapeprefix.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_debugprintcfsyslinehandlerlist.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_debugprintmodulelist.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_debugprinttemplatelist.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_dircreatemode.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_dirgroup.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_dirowner.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_dropmsgswithmaliciousdnsptrrecords.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_droptrailinglfonreception.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_dynafilecachesize.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_escape8bitcharsonreceive.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_escapecontrolcharactersonreceive.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_failonchownfailure.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_filecreatemode.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_filegroup.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_fileowner.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_generateconfiggraph.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_gssforwardservicename.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_gsslistenservicename.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_gssmode.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_includeconfig.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_mainmsgqueuesize.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_markmessageperiod.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_moddir.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_modload.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_repeatedmsgreduction.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_resetconfigvariables.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_rulesetcreatemainqueue.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_rulesetparser.html
./usr/share/doc/rsyslog-5.8.10/rsconf1_umask.html
./usr/share/doc/rsyslog-5.8.10/rscript_abnf.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_conf.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_conf_actions.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_conf_examples.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_conf_filter.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_conf_global.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_conf_modules.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_conf_nomatch.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_conf_output.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_conf_templates.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_high_database_rate.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_mysql.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_ng_comparison.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_packages.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_pgsql.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_php_syslog_ng.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_recording_pri.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_reliable_forwarding.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_secure_tls.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_stunnel.html
./usr/share/doc/rsyslog-5.8.10/rsyslog_tls.html
./usr/share/doc/rsyslog-5.8.10/syslog_parsing.html
./usr/share/doc/rsyslog-5.8.10/syslog_protocol.html
./usr/share/doc/rsyslog-5.8.10/tls_cert_ca.html
./usr/share/doc/rsyslog-5.8.10/tls_cert_client.html
./usr/share/doc/rsyslog-5.8.10/tls_cert_errmsgs.html
./usr/share/doc/rsyslog-5.8.10/tls_cert_machine.html
./usr/share/doc/rsyslog-5.8.10/tls_cert_scenario.html
./usr/share/doc/rsyslog-5.8.10/tls_cert_server.html
./usr/share/doc/rsyslog-5.8.10/tls_cert_summary.html
./usr/share/doc/rsyslog-5.8.10/tls_cert_udp_relay.html
./usr/share/doc/rsyslog-5.8.10/troubleshoot.html
./usr/share/doc/rsyslog-5.8.10/v3compatibility.html
./usr/share/doc/rsyslog-5.8.10/v4compatibility.html
./usr/share/doc/rsyslog-5.8.10/v5compatibility.html
./usr/share/doc/rsyslog-5.8.10/version_naming.html
./usr/share/man/man5/rsyslog.conf.5.gz
./usr/share/man/man8/rsyslogd.8.gz
./var/lib/rsyslog
4285 blocks
pubut@m620:~/rpm/test$ ls
etc lib sbin usr var
pubut@m620:~/rpm/test$
标签:version leo new ipv6 err ssm rpm2cpio sdn index
原文地址:http://www.cnblogs.com/pubut/p/7600440.html