使用tar打bz2压缩的时候报的错误,解决方案:加入参数: P (大写的屁)
# tar -jcPf /root/sysconfig.tar.bz2 /etc/sysconfig
注意:
P一定要在 f 的前面.