Dok, D. van (firstname.lastname@example.org)
Fri, 03 Sep 1999 08:51:44 +0200
On Friday, September 03, 1999 1:46 AM, Paco Rius [SMTP:email@example.com]
> I'm just trying to setup the ppscsi module for my scanner, an HP5100C.
> downloaded that ppSCSI-0.91.patch to add a module for the ppSCSI.. what
> I do now? I'm just clueless, I've tried adding that file to my kernel
A patch is really nothing more than the output of a diff command comparing
the standard linux source tree with the enhanced sources. The diff output is
just a bunch of ex commands, telling which lines should be deleted and what
lines should be added to change one into the other.
So far the background; now to answer your question: the patch program will
apply said changes when it is fed with a patchfile. What is you do is:
- put the patchfile anywhere you like
- cd /usr/src/linux or wherever your source tree resides
- patch -p1 < [patchfile] (mind the less-than sign)
- reconfigure and build your kernel. The configuration should show
the new parport options.
The -p1 flag is the tricky part; it tells patch to ignore the first
component of the path of every file to patch, which is OK since you're in
the linux directory already.
[The biggest challenge facing programmers today] is to go to sleep at
night, when there are so many urgent things needing to be done. A huge
gap exists between what we know is possible with today's machines and
what we have so far been able to finish.--Don Knuth
-- To unsubscribe, send mail to: firstname.lastname@example.org --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2.0b3 on Fri 03 Sep 1999 - 02:57:21 EDT