Date: Mon, 20 Oct 2008 21:45:07 +0200 From: "=?ISO-8859-1?Q?Marius_N=FCnnerich?=" <marius@nuenneri.ch> To: "Marcel Moolenaar" <xcllnt@mac.com> Cc: freebsd-geom@freebsd.org Subject: Re: How to get the partition number of a GPT partition from the geom? Message-ID: <b649e5e0810201245v297912bai5128ed0e49f86404@mail.gmail.com> In-Reply-To: <B09DF01A-C749-479F-9C05-CA137344325B@mac.com> References: <b649e5e0810191537s3b505c5cke7c11e2677f2a294@mail.gmail.com> <b649e5e0810201055s27adb3a9i836251d943e1b475@mail.gmail.com> <B09DF01A-C749-479F-9C05-CA137344325B@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Marcel, thanks for your reply. On Mon, Oct 20, 2008 at 9:09 PM, Marcel Moolenaar <xcllnt@mac.com> wrote: > > On Oct 20, 2008, at 10:55 AM, Marius N=FCnnerich wrote: > >> A new question popped up: >> Is it possible to test the a geom of class PART is of "subclass" GPT? > > > Not easily from the kernel now, but it's always possible to make > certain bits of information more readily available for use inside > the kernel. > > It seems to make sense to have GEOMs export label information > through g_getattr(). This allows the label to come from every > GEOM that possibly can have labels, without the need to add > explicit support... That would certainly be a clean thing to do. I'll take a look into g_getattr() now, thanks.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b649e5e0810201245v297912bai5128ed0e49f86404>