Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2013 18:18:34 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Alban Hertroys <haramrae@gmail.com>
Cc:        Johan Hendriks <joh.hendriks@gmail.com>, Kimmo Paasiala <kpaasial@gmail.com>, freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: zpool labelclear destroys GPT data
Message-ID:  <C9855600-2CAC-497B-8B04-F2B2528A17A7@gsoft.com.au>
In-Reply-To: <CAF-3MvNcu2fr_z%2BJ49YV2sn1mHAnn7xqTcOGSpei8hMhvBr1OA@mail.gmail.com>
References:  <51B9BB14.6020103@gmail.com> <CA%2B7WWSdrS2QYKe8-w31dnxYRriYbhYjj_dwOjhXtTvSsh8Cisw@mail.gmail.com> <51BA381C.8070900@gmail.com> <CA%2B7WWSdsZaEQjWPBeuXb-AGpERqvjw2koZVjyEx5ah8TJTB1KA@mail.gmail.com> <51BAC7D1.70208@gmail.com> <0A53B6AA-9614-42E9-8AA1-82233426EEE6@gsoft.com.au> <CAF-3MvOtM6%2Bk1bOWLUMY_-zmWCWbX98hGhj8kTJsWURTKEZxPQ@mail.gmail.com> <B92714FF-CE1A-44B8-9284-C12429FA42D7@gsoft.com.au> <CAF-3MvNcu2fr_z%2BJ49YV2sn1mHAnn7xqTcOGSpei8hMhvBr1OA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 14/06/2013, at 18:16, Alban Hertroys <haramrae@gmail.com> wrote:
>> The problem with this is that then each label tool needs to know =
about every other label format you want to detect for..
>=20
> Isn't it possible to add such information to labels, so that the tools =
at least know "who" to ask what they're dealing with?
>=20
Not really, the format of the labels is fixed, and there is no standard =
way they are arranged.

> If there is no guaranteed method of identifying "data" on the disk as =
a label, then you can't warn the user in all cases. That's not =
particularly helpful for those cases where you can't warn the user. =
That's possibly a worse situation than what started this thread.

Being warned some of the time seems better than none of the time.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C









Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C9855600-2CAC-497B-8B04-F2B2528A17A7>