Date: Tue, 28 Jul 2009 22:05:51 +0200 From: Harald Schmalzbauer <h.schmalzbauer@omnilan.de> To: Ivan Voras <ivoras@freebsd.org> Cc: Dimitry Andric <dimitry@andric.com>, freebsd-current@freebsd.org Subject: Re: gmirror provider name limit [Was: Re: geom_label: gpt/labelname for gmirror provider?] Message-ID: <4A6F5A1F.2070906@omnilan.de> In-Reply-To: <9bbcef730907281255u3f426923g886893585899d210@mail.gmail.com> References: <4A5CB2D1.5070106@omnilan.de> <h3iegi$kpu$1@ger.gmane.org> <4A5CC981.8010000@omnilan.de> <4A5EDA14.8000703@omnilan.de> <4A5F0F4F.5060505@andric.com> <4A6F52BE.9000901@omnilan.de> <9bbcef730907281255u3f426923g886893585899d210@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Ivan Voras schrieb am 28.07.2009 21:55 (localtime): ... >>> sys/geom/stripe/g_stripe.h:91: char md_provider[16]; /* >>> Hardcoded provider. */ >> Are there any problems to expect when extending the array size? > > If you mean the char array of the provider name then yes, it cannot be > done without introducing a new metadata version (and then if it fits). Oic, thanks for the hint. I forogt about the metadata... *slap* >> To make use og gptid it had to be 43. > > I don't follow you on this - why gptid and why 43? The automatically generated gptid is 36 cahracters plus "gptid/" to use that for a provider name. In my case I'd like to assign the following label: fbsd8GUNE-root_RAID1prov.1of2 It's 30 characters, so I thought using the gptid length was a feasible limit... Thanks, -Harry [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpvWiAACgkQLDqVQ9VXb8j/+wCfbxNekxbEj8NiBAD1UsGlrEhi qskAoLui8J1Rxqw7gzrDbRScMpMhpE+M =zVUE -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A6F5A1F.2070906>
