On Fri, Mar 27, 2009 at 05:27:37PM +0430, a dehqan wrote: > In The Name Of God > > I'll be thankfull if you guide ; > this patch > code<http://article.gmane.org/gmane.linux.drivers.hdaps.devel/1324/raw>has > been saved as 2.patch in /usr/src/linux-headers-2.6.26-1-686 directory. > and with this command applied to kernel : patch -p2 -l < 2.patch > > debian:~# patch -p2 -l < 2.patch > 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 -urN linux-2.6.18.3.original/block/ll_rw_blk.c > linux-2.6.18.3.hdaps/block/ll_rw_blk.c I think you should use -p1 here. Also, try using patch --dry-run if you're not sure that a patch works, so you don't end up with a half-patched tree. -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il | | a Mutt's tzaf...@cohens.org.il | | best ICQ# 16849754 | | friend -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org