From owner-freebsd-geom@FreeBSD.ORG Thu Nov 18 20:56:04 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 3D7B110656AA; Thu, 18 Nov 2010 20:56:04 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout023.mac.com (asmtpout023.mac.com [17.148.16.98]) by mx1.freebsd.org (Postfix) with ESMTP id 2408B8FC19; Thu, 18 Nov 2010 20:56:03 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from sa-nc-common3-115.static.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp023.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0LC300C23M4DHUA0@asmtp023.mac.com>; Thu, 18 Nov 2010 12:55:27 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1010190000 definitions=main-1011180175 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2010-11-18_08:2010-11-18, 2010-11-18, 1970-01-01 signatures=0 From: Marcel Moolenaar In-reply-to: Date: Thu, 18 Nov 2010 12:55:24 -0800 Message-id: <991E8AA1-1D20-4E4C-BE6F-05ACE42FEF1E@mac.com> References: <4CE505B2.6010601@yandex.ru> <77B931B5-8A25-46AC-B14F-9D5F13A964EB@mac.com> To: Greg Rivers X-Mailer: Apple Mail (2.1082) Cc: "Andrey V. Elsukov" , Marcel Moolenaar , freebsd-geom@freebsd.org 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 20:56:04 -0000 On Nov 18, 2010, at 12:44 PM, Greg Rivers wrote: > > But bsdlabel's behavior is consistent with fdisk(8) too (-p, -f), and also with Solaris' prtvtoc(1M) and fmthard(1M). Historically, it's pretty much expected that partition managers work that way or at least have that feature. It's a nice feature, but it isn't always possible or easy to implement with the right semantics. > Maybe "gpart show" shouldn't be overloaded, but having something like "gpart backup" and "gpart restore" working on a format that's easily readable and editable by a person would be a real feature. I agree. -- Marcel Moolenaar xcllnt@mac.com