GEOM_MBR patch for review.

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Jan 20 13:40:42 PST 2005


Go for it!

In message <20050120213418.GT795 at darkness.comp.waw.pl>, Pawel Jakub Dawidek wri
tes:
>
>--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 at 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--
>

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-geom mailing list