NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/43454: gpt(8) and disklabel(8) conflict with each other
The following reply was made to PR bin/43454; it has been noted by GNATS.
From: =?ISO-8859-1?Q?Gr=E9goire_Sutre?= <gregoire.sutre%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: bin/43454: gpt(8) and disklabel(8) conflict with each other
Date: Fri, 11 Jun 2010 12:09:51 +0200
On 06/11/2010 12:05, Martin Husemann wrote:
> The following reply was made to PR bin/43454; it has been noted by GNATS.
>
> From: Martin Husemann<martin%duskware.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
> Subject: Re: bin/43454: gpt(8) and disklabel(8) conflict with each other
> Date: Fri, 11 Jun 2010 12:00:56 +0200
>
> On Fri, Jun 11, 2010 at 08:05:00AM +0000,
> gregoire.sutre%gmail.com@localhost wrote:
> > On a gpt-partitioned disk, running disklabel -e -I silently destroys
> the GPT
> > header.
> >
> > Conversely, on a BSD-labeled disk (with a BSD label for the whole disk,
> i.e.
> > no DOS partition table in the MBR), running gpt create silently create
> destroys
> > the BSD disklabel.
>
> Yes - but what is the bug in this behaviour? You want a warning prompt?
Yes, a warning prompt would be nice. Or abort by default when the tool
detects some valid data (gpt header for disklabel(8), bsd label for
gpt(8)), and have an option (unfortunately -f is already taken) to
force the writing.
Grégoire
Home |
Main Index |
Thread Index |
Old Index