From owner-freebsd-current@FreeBSD.ORG Thu Jul 30 16:38:09 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 62A331065670 for ; Thu, 30 Jul 2009 16:38:09 +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 CFD0F8FC24 for ; Thu, 30 Jul 2009 16:38:08 +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 n6UGc6Kc037510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 30 Jul 2009 18:38:06 +0200 (CEST) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <4A71CC6D.7060803@omnilan.de> Date: Thu, 30 Jul 2009 18:38:05 +0200 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Thunderbird 2.0.0.22 (X11/20090717) MIME-Version: 1.0 To: Dimitry Andric 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> <4A6F5A1F.2070906@omnilan.de> <4A70B15B.4050907@andric.com> <4A713FB9.6020002@omnilan.de> In-Reply-To: <4A713FB9.6020002@omnilan.de> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE48CB35B66AC19EFB05CF975" Cc: 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: Thu, 30 Jul 2009 16:38:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE48CB35B66AC19EFB05CF975 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Harald Schmalzbauer schrieb am 30.07.2009 08:37 (localtime): > Dimitry Andric schrieb am 29.07.2009 22:30 (localtime): > ... >> Please try the following patch, to enable an error message, in case an= y >> of the providers' names exceeds the maximum length. It should be enou= gh >> to do "cd /usr/src/sbin/geom && make && sudo make install". >> >> I'm not very good at manpages, though... any takers? :) >=20 > I always wanted to look into man pages from the editors side. > Expect something toady, otherwise I'll notify when I failed... Here's the best I could do. I suggest some native speakers should have a = look on it. geom_man.diff --- src/sbin/geom/class/raid3/graid3.8.orig 2009-07-30=20 18:20:16.000000000 +0200 +++ src/sbin/geom/class/raid3/graid3.8 2009-07-30 18:20:51.000000000 +020= 0 @@ -83,7 +83,15 @@ The .Nm utility uses on-disk metadata (the provider's last sector) to store=20 all needed -information. +information. For +.Ar prov , +it's possible to use a providers label (see +.Xr geom_label 8 ) +instead of the device node. +The size of +.Ar prov +is limited to 15 characters, so currently it's not possible to use the=20 GPTID +nor custom defined labels which are longer than 15 characters. .Pp The first argument to .Nm --- src/sbin/geom/class/shsec/gshsec.8.orig 2009-07-30=20 18:21:49.000000000 +0200 +++ src/sbin/geom/class/shsec/gshsec.8 2009-07-30 18:25:26.000000000 +020= 0 @@ -62,7 +62,16 @@ The secret is shared between the given providers. To collect the secret, all providers are needed. If one of the components is missing, there is no way to get any useful = data from -the rest of them. +the rest of them. For +.Ar prov , +it's possible to use a providers label (see +.Xr geom_label 8 ) +instead of the device node. +The size of +.Ar prov +is limited to 15 characters, so currently it's not possible to use the=20 GPTID +nor custom defined labels which are longer than 15 characters. +.Pp The first argument to .Nm indicates an action to be performed: --- src/sbin/geom/class/stripe/gstripe.8.orig 2009-07-30=20 18:23:42.000000000 +0200 +++ src/sbin/geom/class/stripe/gstripe.8 2009-07-30 18:24:10.000000000 +0= 200 @@ -82,7 +82,15 @@ .Dq automatic method uses on-disk metadata to detect devices. Once devices are labeled, they will be automatically detected and -configured. +configured. For +.Ar prov , +it's possible to use a providers label (see +.Xr geom_label 8 ) +instead of the device node. +The size of +.Ar prov +is limited to 15 characters, so currently it's not possible to use the=20 GPTID +nor custom defined labels which are longer than 15 characters. .Pp The first argument to .Nm --- src/sbin/geom/class/concat/gconcat.8.orig 2009-07-30=20 18:16:12.000000000 +0200 +++ src/sbin/geom/class/concat/gconcat.8 2009-07-30 18:26:06.000000000 +0= 200 @@ -80,7 +80,15 @@ .Dq automatic method uses on-disk metadata to detect devices. Once devices are labeled, they will be automatically detected and -configured. +configured. For +.Ar prov , +it's possible to use a providers label (see +.Xr geom_label 8 ) +instead of the device node. +The size of +.Ar prov +is limited to 15 characters, so currently it's not possible to use the=20 GPTID +nor custom defined labels which are longer than 15 characters. .Pp The first argument to .Nm --- src/sbin/geom/class/journal/gjournal.8.orig 2009-07-30=20 18:26:21.000000000 +0200 +++ src/sbin/geom/class/journal/gjournal.8 2009-07-30 18:29:15.000000000 = +0200 @@ -125,6 +125,16 @@ This could be a problem when an existing file system is converted to us= e .Nm . .Pp +For +.Ar prov , +it's possible to use a providers label (see +.Xr geom_label 8 ) +instead of the device node. +The size of +.Ar prov +is limited to 15 characters, so currently it's not possible to use the=20 GPTID +nor custom defined labels which are longer than 15 characters. +.Pp The first argument to .Nm indicates an action to be performed: --- src/sbin/geom/class/mirror/gmirror.8.orig 2009-07-30=20 18:11:17.000000000 +0200 +++ src/sbin/geom/class/mirror/gmirror.8 2009-07-30 18:29:55.000000000 +0= 200 @@ -106,7 +106,15 @@ utility uses on-disk metadata (stored in the provider's last sector)=20 to store all needed information. Since the last sector is used for this purpose, it is possible to=20 place a root -file system on a mirror. +file system on a mirror. For +.Ar prov , +it's possible to use a providers label (see +.Xr geom_label 8 ) +instead of the device node. +The size of +.Ar prov +is limited to 15 characters, so currently it's not possible to use the=20 GPTID +nor custom defined labels which are longer than 15 characters. .Pp The first argument to .Nm Best regards, -Harry --------------enigE48CB35B66AC19EFB05CF975 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) iEYEARECAAYFAkpxzG4ACgkQLDqVQ9VXb8gAJgCcDqSsZYWgIdvYNHjMpxLZMcnq zlAAoMcAZ2duXZLQjQoqJg7pxa+31ATD =9b2R -----END PGP SIGNATURE----- --------------enigE48CB35B66AC19EFB05CF975--