制作patch包:
[guowenxue@moo signPad]$diff -Nuar linux-2.6.28.7 linux-2.6.28.7-new/ > linux-2.6.28.7-max2440.patch
打补丁:
[guowenxue@moo linux-2.6.28.7-new]$patch -p1 < linux-2.6.28.7-max2440.patch
将打了补丁后的文件还原:
[guowenxue@moo linux-2.6.28.7-new]$patch -R -p1 < linux-2.6.28.7-max2440.patch
阅读(1014) | 评论(0) | 转发(0) |