Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2010 12:20:15 -0800
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        marcel@FreeBSD.ORG, "Andrey V. Elsukov" <bu7cher@yandex.ru>, Oliver Fromme <olli@lurza.secnetix.de>, freebsd-geom@FreeBSD.ORG
Subject:   Re: backup a partition table with gpart(8)
Message-ID:  <ACB2AE14-C857-4171-A58C-24544D380368@mac.com>
In-Reply-To: <20101118195757.GA2416@garage.freebsd.pl>
References:  <201011181132.oAIBWucC051624@lurza.secnetix.de> <4CE54B88.9070006@yandex.ru> <20101118195757.GA2416@garage.freebsd.pl>

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

On Nov 18, 2010, at 11:57 AM, Pawel Jakub Dawidek wrote:

> BTW. I noticed that configuring label with 'gpart modify' for existing
> partition doesn't trigger taste, so new label doesn't appear in /dev/gpt/.

This is deliberate. "gpart modify" changes meta-data that does not
affect the existing geom and as such allows modification of on-disk
meta-data while the geom is open. The label in the partition table
is one such piece of information you can change safely. The starting
LBA or size are examples of things that cannot be changed while the
geom is open and for that we have different verbs.

The fact that this kind of information is being interpreted outside
of gpart and without the knowledge of gpart is where the problem is.

-- 
Marcel Moolenaar
xcllnt@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ACB2AE14-C857-4171-A58C-24544D380368>