bin/113456: gpt does not allow changing partition table
Remko Lodder
remko at elvandar.org
Fri Jun 8 06:20:17 UTC 2007
The following reply was made to PR bin/113456; it has been noted by GNATS.
From: "Remko Lodder" <remko at elvandar.org>
To: "W.B.Kloke" <wb at kloke-witten.dyndns.org>
Cc: freebsd-gnats-submit at 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 at elvandar.org
FreeBSD ** remko at FreeBSD.org
/* Quis custodiet ipsos custodes */
More information about the freebsd-bugs
mailing list