- 论坛徽章:
- 0
|
原帖由 rwx_hc 于 2006-1-19 16:10 发表
升级内核免不了要打补丁,方法也不尽相同.网上不少文章有如下用法,对此我抱怀疑态度
bunzip2 -dv /download/patch-2.6.10-bk4.bz2 |patch -p1
输出:bunzip2 :done
当这条命令输完,任务也就完成了,没 ...
why didn't you man the bunzip2 instead of guessing?
-c --stdout
Compress or decompress to standard output.
-v --verbose
Verbose mode -- show the compression ratio for each file pro-
cessed. Further -v鈥檚 increase the verbosity level, spewing out
lots of information which is primarily of interest for diagnos-
tic purposes.
-d --decompress
Force decompression. bzip2, bunzip2 and bzcat are really the
same program, and the decision about what actions to take is
done on the basis of which name is used. This flag overrides
that mechanism, and forces bzip2 to decompress.
from above,-v is just for verbose.
you need -c to decompress the patch to standard output,When pipe ‘|’ used |
|