QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1080|回复: 1

patch到底怎么用呀?

[复制链接]
发表于 2004-11-13 18:03:05 | 显示全部楼层 |阅读模式
我把patch-2.6.9放到了/usr/src目录下,可用patch -p0<patch-2.6.9
时如下:
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru a/CREDITS b/CREDITS
|--- a/CREDITS  2004-10-18 14:56:48 -07:00
|+++ b/CREDITS  2004-10-18 14:56:48 -07:00
--------------------------
File to patch:
我输入/usr/src/linux-2.6.9
这时又出现:
patch: **** File /usr/src/linux-2.6.9 is not a regular file -- can't patch
到底怎么回事呀?
发表于 2004-11-14 07:45:28 | 显示全部楼层
试试看 -p1
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-17 03:32 , Processed in 0.070809 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表