Por favor no hagas crosspost.
Valentín González E. escribió:
> Hola listeros. Al aplicar un parche al kernel, cual es la diferencia en
> ejecutar:
>
> patch -p0 < xxxx.patch
>
> o
>
> patch -p1 < xxxx.patch
La cantidad de elementos del inicio del path que se le extrae al
encabezado del parche para buscar los archivos.
Por ejemplo si el parche dice que tiene que cambiar el archivo
a/drivers/linux/test.c
si usas -p0 va a buscar el archivo
a/drivers/linux/test.c
en cambio si usas -p1
drivers/linux/test.c
--
Alvaro Herrera Valdivia, Chile ICBM: S 39º 49' 17.7", W 73º 14' 26.8"
"Llegará una época en la que una investigación diligente y prolongada sacará
a la luz cosas que hoy están ocultas" (Séneca, siglo I)
From [EMAIL PROTECTED] Mon Nov 14 21:16:25 2005
From: [EMAIL PROTECTED] (Jose Miguel Vidal Lavin)
Date: Mon Nov 14 20:13:14 2005
Subject: Aplicar parche al kernel de linux
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Valentín González E. wrote:
> Hola listeros. Al aplicar un parche al kernel, cual es la diferencia en
>ejecutar:
>
>patch -p0 < xxxx.patch
>
>o
>
>patch -p1 < xxxx.patch
>
>
> De antemano gracias.
>
>
el man de patch dice:
-pnum or --strip=num
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. For example, supposing the file name in the patch
file was
/u/howard/src/blurfl/blurfl.c
setting -p0 gives the entire file name unmodified, -p1 gives
u/howard/src/blurfl/blurfl.c
without the leading slash, -p4 gives
blurfl/blurfl.c
and not specifying -p at all just gives you blurfl.c.
Whatever you end up with is looked for either in the cur-
rent directory, or the directory specified by the -d option.
saludos
From [EMAIL PROTECTED] Mon Nov 14 16:32:55 2005
From: [EMAIL PROTECTED] (Jorge Palma)
Date: Mon Nov 14 20:30:39 2005
Subject: Problema bind 9
Message-ID: <[EMAIL PROTECTED]>
Estimados:
Estaba haciendo algo relativamente trivial, configurando un DNS con zonas
slaves, autorize su ip en el master, configure el master en el slave, pero
cuando trata de traerse la zona arroja lo sgte:
Nov 14 16:23:04 xxx named[25084]: dumping master file: tmp-XXXXp6Rnm7: open:
permission denied
Nov 14 16:23:04 xxx named[25084]: transfer of 'xxx.cl/IN <http://xxx.cl/IN>'
from xxx.xx.xx.xx#53: failed while receiving responses: permission denied
Nov 14 16:23:04 xxx named[25084]: transfer of 'xxx.cl/IN <http://xxx.cl/IN>'
from xxx.xx.xx.xx#53: end of transfer
y finalmente no copia la zona....
que podra ser??
saludos
--
Jorge Palma
Linux user number 338528
Linus Torvalds: If it compiles, it is good, if it boots up it is perfect.
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL:
http://listas.inf.utfsm.cl/pipermail/linux/attachments/20051114/c67dfc67/attachment-0001.html
From [EMAIL PROTECTED] Mon Nov 14 20:53:54 2005
From: [EMAIL PROTECTED] (Luis Vega)
Date: Mon Nov 14 21:55:44 2005
Subject: Configuracion de phpMyadmin !!!
Message-ID: <[EMAIL PROTECTED]>
Hola.
He redactado un documento de como instalr phpmyadmin en Debian, aunque creo
que deberia ser lo mismo con RHEL 4. Estaba basado en Debian Sarge con PHP4.
La version de PHPMyAdmin es 2.6.2 y MySQL 4.0.24.
Espero te sirva.
http://fodsite.webcindario.com/artcomment.php?id=38
P.D. no es mucha la diferencia entre instalar phpmyadmin desde las fuentes o
a traves de apt-get o yum.
--
Luis Vega M.
Linux Registered User #356394
GnuPG v1.4.1-1 (Debian GNU/Linux)
PG-ID: C0778DD2 <fodsite AT gmail DOT com>
http://fodsite.webcindario.com
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL:
http://listas.inf.utfsm.cl/pipermail/linux/attachments/20051114/ac26d2d7/attachment.html
From [EMAIL PROTECTED] Mon Nov 14 23:35:20 2005
From: [EMAIL PROTECTED] (Eduardo Quiroz Salinas)
Date: Tue Nov 15 00:32:39 2005
Subject: /boot perdida.
Message-ID: <[EMAIL PROTECTED]>
Hola a todos
tengo un pequeño problemita. Tenía 800 MB para la partición /boot en un
FC4 y estaba falto de espacio y reparticioné usando una herramienta para
guindoze (paragon partition manager) y le asigné más al home. Luego
reinicié y obviamente perdí el booteo y lo trate de recuperar con
grub-install. Sin embargo, me sale que la particion /dev/hda2 no es
reconocida como partición de booteo. Tengo mis datos intactos en las
otras particiones (/home y / )pues los revisé y están ok. Sin embargo,
quiero recuperar el boot pero sin reinstalar.
Lo que pude hacer fue renombrar el directorio /boot como /boot.bak y
reinstalé grub con grub-install. Luego al iniciar, obviamente no
funcionó, pues el boot no era el que correspondía. Entonces, copié los
archivos /boot.bak/* hacia /boot (el nuevo que había creado). Luego el
sistema arrancó bien, encontró el arranque y funcionó hasta que hizo el
chequeo de los discos, donde me obligó a ejecutar fsck, el cual luego de
un eterno realocate de los datos lo corté, pues llevaba mucho rato (más
de una hora, con assume yes for all questions) y no avanzaba de sector.
Agradecería alguna "luz".
Gracias de antemano.
Saludos!!