Date: Thu, 18 Nov 2010 18:51:36 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: freebsd-geom@FreeBSD.ORG Cc: Oliver Fromme <olli@lurza.secnetix.de>, marcel@FreeBSD.ORG, Pawel Jakub Dawidek <pjd@FreeBSD.org> Subject: Re: backup a partition table with gpart(8) Message-ID: <4CE54B88.9070006@yandex.ru> In-Reply-To: <201011181132.oAIBWucC051624@lurza.secnetix.de> References: <201011181132.oAIBWucC051624@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <class> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CE54B88.9070006>