From owner-freebsd-bugs@FreeBSD.ORG Fri Jun 8 06:20:17 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1ACE616A421 for ; Fri, 8 Jun 2007 06:20:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id B97E013C455 for ; Fri, 8 Jun 2007 06:20:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l586KGXG055677 for ; Fri, 8 Jun 2007 06:20:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l586KGPu055676; Fri, 8 Jun 2007 06:20:16 GMT (envelope-from gnats) Date: Fri, 8 Jun 2007 06:20:16 GMT Message-Id: <200706080620.l586KGPu055676@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Remko Lodder" Cc: Subject: Re: bin/113456: gpt does not allow changing partition table X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Remko Lodder List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 06:20:17 -0000 The following reply was made to PR bin/113456; it has been noted by GNATS. From: "Remko Lodder" To: "W.B.Kloke" Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/113456: gpt does not allow changing partition table Date: Fri, 8 Jun 2007 08:11:51 +0200 (CEST) > GPT partion tables cannot be changed if one of the partions is mounted. > > >>How-To-Repeat: > Put a UFS file system on one GPT partition and mount it. > Then the gpt utility even refuses to show the table unless -r > flag is used. >>Fix: > > Adopt a policy similar to "fdisk -u" or "bsdlabel -e", please. Hello, I thought that fdisk and bsdlabel were only used when the disk is not mounted / used, you can destroy partitions and thus data if you use an editor on an active disk so personally I think this is not very wise to add... -- Kind regards, Remko Lodder ** remko@elvandar.org FreeBSD ** remko@FreeBSD.org /* Quis custodiet ipsos custodes */