Date: Mon, 29 Nov 2010 09:05:11 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: perryh@pluto.rain.com Cc: freebsd-geom@freebsd.org Subject: Re: G_PART macro definitions Message-ID: <4CF34297.4070300@yandex.ru> In-Reply-To: <4cf21cd3.UbQ57eYkszW60Ww4%perryh@pluto.rain.com> References: <4cf21cd3.UbQ57eYkszW60Ww4%perryh@pluto.rain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig64D4A9712FDD8C06F4486472 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 28.11.2010 12:11, perryh@pluto.rain.com wrote: > I am trying to understand, in some detail, the operation of the > g_part_taste and g_part_probe functions in sys/geom/part/g_part.c, > and am having trouble figuring out exactly what the G_PART_PROBE > and G_PART_READ macros do. Where will I find their definitions > (in 8.1-RELEASE)? >=20 > They don't seem to be in sys/geom/part/g_part.c itself, nor in > sys/geom/part/g_part.h -- at least, not in a form that I've been > able to recognize. G_PART_XXX macros are scheme depended. They do call scheme-specific methods that are defined in g_part_xxx.c files. E.g. when "table" argument (kobj instance) is instance of MBR scheme, then G_PART_PROBE will call g_part_mbr_probe method. --=20 WBR, Andrey V. Elsukov --------------enig64D4A9712FDD8C06F4486472 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJM80KhAAoJEAHF6gQQyKF6NmQH+wZa/OzfjTfIcvHo4DAVpIQG jnjn9Lthx2odfnVN9EEOk8imIEKY1Mqf1mF0aMDUz+rWpHiLRisR366tFHA2Bi67 +N3hEOWzo3BUJBNBxnDst9NWcoPaOKabqorpczY8+00UyzKMnyLwZie9KxBq+/HB XfKP2Y0YawC09jbcRON3AuMmziDDAWaJGYyTzDZmYwrybP/P2QfOtj1RmUmo74uC LyVV6E8H8IQjlBKYzt57b8ItbamUNdZRI/cN1qL9bQm/2W4NncUnvUn+mLrGRi/5 jrGqAfVaDhzwKnZBcZTByVbSzWjJQB8/taxirzhP9pXROYFD36loIHoZf7GqLKI= =Bffu -----END PGP SIGNATURE----- --------------enig64D4A9712FDD8C06F4486472--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CF34297.4070300>