From owner-freebsd-current@FreeBSD.ORG Tue Jul 28 20:05:54 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A2DC1065675; Tue, 28 Jul 2009 20:05:54 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id F09CD8FC0C; Tue, 28 Jul 2009 20:05:53 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [172.21.1.150]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id n6SK5q7T056139 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Jul 2009 22:05:52 +0200 (CEST) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <4A6F5A1F.2070906@omnilan.de> Date: Tue, 28 Jul 2009 22:05:51 +0200 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Thunderbird 2.0.0.22 (X11/20090717) MIME-Version: 1.0 To: Ivan Voras References: <4A5CB2D1.5070106@omnilan.de> <4A5CC981.8010000@omnilan.de> <4A5EDA14.8000703@omnilan.de> <4A5F0F4F.5060505@andric.com> <4A6F52BE.9000901@omnilan.de> <9bbcef730907281255u3f426923g886893585899d210@mail.gmail.com> In-Reply-To: <9bbcef730907281255u3f426923g886893585899d210@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig888F543E19320DE78ECE8B15" Cc: Dimitry Andric , freebsd-current@freebsd.org Subject: Re: gmirror provider name limit [Was: Re: geom_label: gpt/labelname for gmirror provider?] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2009 20:05:54 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig888F543E19320DE78ECE8B15 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Ivan Voras schrieb am 28.07.2009 21:55 (localtime): =2E.. >>> sys/geom/stripe/g_stripe.h:91: char md_provider[16]; /* >>> Hardcoded provider. */ >> Are there any problems to expect when extending the array size? >=20 > 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. >=20 > I don't follow you on this - why gptid and why 43? The automatically generated gptid is 36 cahracters plus "gptid/" to use=20 that for a provider name. In my case I'd like to assign the following=20 label: fbsd8GUNE-root_RAID1prov.1of2 It's 30 characters, so I thought using the gptid length was a feasible=20 limit... Thanks, -Harry --------------enig888F543E19320DE78ECE8B15 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpvWiAACgkQLDqVQ9VXb8j/+wCfbxNekxbEj8NiBAD1UsGlrEhi qskAoLui8J1Rxqw7gzrDbRScMpMhpE+M =zVUE -----END PGP SIGNATURE----- --------------enig888F543E19320DE78ECE8B15--