From owner-freebsd-geom@FreeBSD.ORG Thu Jan 20 21:34:21 2005 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98DD816A4CE for ; Thu, 20 Jan 2005 21:34:21 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AC9543D1F for ; Thu, 20 Jan 2005 21:34:21 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id C6E33ACBD6; Thu, 20 Jan 2005 22:34:18 +0100 (CET) Date: Thu, 20 Jan 2005 22:34:18 +0100 From: Pawel Jakub Dawidek To: freebsd-geom@freebsd.org Message-ID: <20050120213418.GT795@darkness.comp.waw.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="f3bMXCeKxSopGW1v" Content-Disposition: inline User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 Subject: GEOM_MBR patch for review. X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 21:34:21 -0000 --f3bMXCeKxSopGW1v Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello. Patch below allows to protect against recursive slices creation in simlar way as BSD class does this, ie. by calculating md5 sum of the first sector and checking if provider below us is using metadata from the same sector. http://people.freebsd.org/~pjd/patches/geom_mbr.c.2.patch It allows to remove hack for geoms with rank !=3D 1. Comments? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --f3bMXCeKxSopGW1v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFB8CPaForvXbEpPzQRAjYoAJ9VLxhommmfDXoHStecDQlLjeR6tACfZW1f G1HnzqwXW7+OgwgS8Y7e+4Q= =SCKh -----END PGP SIGNATURE----- --f3bMXCeKxSopGW1v--