From owner-freebsd-geom@FreeBSD.ORG Thu Nov 18 15:51:49 2010 Return-Path: Delivered-To: freebsd-geom@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 976E5106564A; Thu, 18 Nov 2010 15:51:49 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward1.mail.yandex.net (forward1.mail.yandex.net [77.88.46.6]) by mx1.freebsd.org (Postfix) with ESMTP id 41FCE8FC12; Thu, 18 Nov 2010 15:51:49 +0000 (UTC) Received: from smtp2.mail.yandex.net (smtp2.mail.yandex.net [77.88.46.102]) by forward1.mail.yandex.net (Yandex) with ESMTP id 5E8E169E832D; Thu, 18 Nov 2010 18:51:46 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1290095506; bh=Y/McwnTUVwHXafid9f3jGaEVrVyzilv2X7621eEXK8Y=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=I2D21KDmyLnxsodvTbIEiWI89JSt12C2z0LE4ERJ1Yrr21D+crRpRZKrH9auMDFNc zK2/mCHNuX49Z9LdefM9gZvymtmHnKZWGYY/scgkkKhtbfvT9l7RAyHJ97oNDyH1wB Ua5rzs9uIgnqbLqLp8cjJ7RTtfgxo91sKACc/rGg= Received: from [10.43.163.197] (nat-77-56.kirovnet.ru [92.39.77.56]) by smtp2.mail.yandex.net (Yandex) with ESMTPSA id D76A952809C; Thu, 18 Nov 2010 18:51:45 +0300 (MSK) Message-ID: <4CE54B88.9070006@yandex.ru> Date: Thu, 18 Nov 2010 18:51:36 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101030 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-geom@FreeBSD.ORG References: <201011181132.oAIBWucC051624@lurza.secnetix.de> In-Reply-To: <201011181132.oAIBWucC051624@lurza.secnetix.de> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD4B23E9D764068C12E07B36E" Cc: Oliver Fromme , marcel@FreeBSD.ORG, Pawel Jakub Dawidek Subject: Re: backup a partition table with gpart(8) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2010 15:51:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD4B23E9D764068C12E07B36E Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 18.11.2010 14:32, Oliver Fromme wrote: > How about an option to dump the table in XML format, and > another option that creates a table from an XML structure? >=20 > (I'm not a huge fan of XML, but in this particular case > it might be useful.) I do not think it is very useful, nor in implementation, nor in usability. What about add a new standard command to geom(8) to execute batch of commands? > cat geom_class_cmd | geom execute [arg0] where geom_class_cmd is a list of commands for specific class. This can get advantage for some geom classes, e.g.: > gpart dump ada0 | gpart execute ada1 this command will make a copy of partition table ada0 to ada1. Currently to implement this geom(8) and gpart(8) should be significantly changed particularly in the errors handling. So my question is to Marcel and Pawel - Do you have something against these changes? Or maybe you can suggest something else? --=20 WBR, Andrey V. Elsukov --------------enigD4B23E9D764068C12E07B36E 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.16 (FreeBSD) iQEcBAEBAgAGBQJM5UuNAAoJEAHF6gQQyKF6+nwH/3oqPwChRAhQ+0gDykkXv5c2 9Mi7xqvFEDiPMMIwlmBxWX48+FGR+o8AWB8fJiUyS6uBjeGseoQo93XHtDikAay/ zYHoVL5uEfHytueLO6PJ0/RsYB56WRMmUWuKowt1CxwNwUviKskjctSiNjIqmPei iSspZdL4ZIb76U+rluC5+dL9ooB0PthGsL/SLlUbf3TZj/hur1P5MuEAUAJHtFNv Rt0K4ys4XjKKOA3pFuxY8lW/25mFcu5zIg6b6MNROeWZHqzRhYTE+ssXlCeEgjYZ eXGpSAhRLPp6fpLiD/jgtoRSGyJvdrbAJNMlhB5umYRlh4bsO36HjzISFMFjDwY= =jDbZ -----END PGP SIGNATURE----- --------------enigD4B23E9D764068C12E07B36E--