Date: Mon, 6 Jan 2003 12:10:41 -0800 (PST) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/geom geom_bsd.c Message-ID: <200301062010.h06KAfeY091610@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2003/01/06 12:10:41 PST
Modified files:
sys/geom geom_bsd.c
Log:
BSD disklabels expose the controling label though the 'c' partition, and
some trick is necessary to prevent further BSD geoms from attaching to
that. Our old trick was to make sure we don't attach to a geom from
the "BSD" class, but this doesn't work if an intermediary geom obscures
this fact. Instead, calculate the MD5 checksum of the label we target
and ask if anybody below us loves that label. If they do we don't.
Coded by: gordon.
Revision Changes Path
1.35 +26 -12 src/sys/geom/geom_bsd.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301062010.h06KAfeY091610>
