From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juan Pablo =?ISO-8859-1?Q?Gim=E9nez?= Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ZNdSyV98H1dBIRC5pLar" Message-Id: <1057961544.9804.31.camel@hugo> Mime-Version: 1.0 Subject: [linux-lvm] pvmove Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: Date: Sat Jul 12 07:44:01 2003 List-Id: To: linux-lvm@sistina.com --=-ZNdSyV98H1dBIRC5pLar Content-Type: multipart/alternative; boundary="=-EgCdn84+nzd+4xSdeWCI" --=-EgCdn84+nzd+4xSdeWCI Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable What's more secure, the Redhat patched pvmove or the original one? BTW, I have a little patch to fix RedHat patched pvmove and make it work with unpatched kernels... --- lib/pv_move.c 2003-07-11 19:10:26.000000000 -0300 +++ lib/pv_move.c.rcom 2003-07-11 19:09:35.000000000 -0300 @@ -916,7 +916,7 @@ ret =3D ioctl(group, PE_LOCKED_COPY, &pe_copy_req); if (ret < 0) ret =3D -errno; - if (ret =3D=3D -EINVAL) + if (ret =3D=3D -EINVAL || ret =3D=3D -ENOTTY) ret =3D -LVM_EPV_LOCKED_COPY_EINVAL; =09 close(group); =20 Juan Pablo Gim=C3=A9nez=20 http://www.rcom.com.ar/ http://www.rcom.com.ar/comunidad/ Llave GnuPG: MIT keyserver=20 Web Rcom=20 GnuPG fingerprint: ED97 6FB8 A9BE 26A6 789B 6657 0A15 EC2B D3D8 FD2B=20 http://www.greenpeace.org.ar/secciones/cyberactivismo/nuclear.php3 --=-EgCdn84+nzd+4xSdeWCI Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable What's more secure, the Redhat patched pvmove or the original one?

BTW, I have a little patch to fix RedHat patched pvmove and make it work wi= th unpatched kernels...

--- lib/pv_move.c	2003-07-11 19:10:26.000000000 -0300
+++ lib/pv_move.c.rcom	2003-07-11 19:09:35.000000000 -0300
@@ -916,7 +916,7 @@
 	ret =3D ioctl(group, PE_LOCKED_COPY, &pe_copy_req);
 	if (ret < 0)
 		ret =3D -errno;
-	if (ret =3D=3D -EINVAL)
+	if (ret =3D=3D -EINVAL || ret =3D=3D -ENOTTY)
 		ret =3D -LVM_EPV_LOCKED_COPY_EINVAL;
 =09
 	close(group);

=

Juan Pablo Giménez

http://www.rcom.com.ar/
http://www.rcom.com.ar/comuni= dad/

Llave GnuPG:
MIT keyserver
Web Rcom


GnuPG fingerprint: ED97 6FB8 A9BE 26A6 789B 6657 0A15 EC2B D3D8 FD2B

3D"http://www.greenpeac=
--=-EgCdn84+nzd+4xSdeWCI-- --=-ZNdSyV98H1dBIRC5pLar Content-Type: application/pgp-signature; name=signature.asc Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA/DzZHmwwiUvOlMjQRAm8fAKDI9ym50Y4Xgbnoke0WoGpDOBWTnQCbB5jt fSyfB/7DctaCKooIvR4XxlQ= =7TPF -----END PGP SIGNATURE----- --=-ZNdSyV98H1dBIRC5pLar--