Date: Fri, 8 Jun 2007 06:20:16 GMT From: "Remko Lodder" <remko@elvandar.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/113456: gpt does not allow changing partition table Message-ID: <200706080620.l586KGPu055676@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/113456; it has been noted by GNATS. From: "Remko Lodder" <remko@elvandar.org> To: "W.B.Kloke" <wb@kloke-witten.dyndns.org> 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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706080620.l586KGPu055676>