[linux] Patch

Peter Mann Peter.Mann na tuke.sk
Úterý Říjen 1 14:13:42 CEST 2002


On Tue, Oct 01, 2002 at 12:13:03PM +0200, Ján Chrastina wrote:
> Zdravim,
> chcel by som si opatchovat 2.4.19 na pouzitie xfs. Mam toto:
> 
> lrwxr-xr-x    1 root     root           12 Oct  1 12:08 linux -> 
> linux-2.4.19/
> -rw-r--r--    1 jano     jano     24161675 May 17 09:09 linux-2.4.18.tar.bz2
> drwxr-xr-x   14 573      573          4096 Aug  3 02:39 linux-2.4.19/
> -rw-rw-r--    1 jano     jano     145162240 Oct  1 08:53 linux-2.4.19.tar
> -rw-rw-r--    1 jano     jano     26042494 Oct  1 08:53 linux-2.4.19.tar.bz2
> drwxr-xr-x    7 root     root           67 May 15 15:46 RPM/
> -rw-r--r--    1 root     root      4456202 Aug  7 17:36 
> xfs-1.1-2.4.18-all.patch
> -rw-rw-r--    1 jano     jano      4904025 Oct  1 08:24 xfs-2.4.19-all-i386
> 
> Ked zadam patch -p0 < xfs-2.4.19-all-i386, tak sa opyta ktory subor 
> chcem. Zadam linux-2.4.19.tar dllho sa nieco robi a este sa niekolko 
> krat spyta ktory subor chce opatchovat. Nakoniec vznikne 
> linux-2.4.19.tar.orig a linux-2.4.19.tar.rej a v novom jadre nie je ani 
> zmienky o xfs.
> Ako sa da opatchovat jadro?

pozri si man patch:

-pnum
Strip the smallest prefix containing num leading slashes from each file
name found in the patch file.  A sequence  of  one  or  more adjacent slashes 
is counted as a single slash.  This controls how file names
found in the patch file are treated, in case you keep your files in a different 
directory than the person who sent out the patch.

tipujem, ze treba dat p1 ... a tar.bz2 treba rozbalit a tak patchovat

-- 

5o   Peter.Mann at tuke.sk
     KLFMANiK ICQ 12491471
         PM2185-RIPE




Další informace o konferenci linux