Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2011 22:21:58 +0400
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        freebsd-geom@FreeBSD.org
Subject:   Re: kern/157724: [geom] gpart(8) 'add' command must preserve gap for schemes
Message-ID:  <4E08CA46.6030904@FreeBSD.org>
In-Reply-To: <201106271810.p5RIABbI063810@freefall.freebsd.org>
References:  <201106271810.p5RIABbI063810@freefall.freebsd.org>

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

[-- Attachment #1 --]
On 27.06.2011 22:10, Marcel Moolenaar wrote:
>  >> There isn't a lot we can do about it. This is one of those
>  >> historical mistakes that you can't fix without breaking with
>  >> 30+ years of history. It's not worth the hassle IMO...
>  > 
>  > Hi, Marcel
>  > 
>  > I think we can just set gpt_first = 16 in g_part_bsd_create for new
>  > tables and for existing tables also set gpt_first = 16 if all partitions
>  > don not use this space. Something like this (untested):
>  
>  You may want to look at /etc/disktab. Are you willing to
>  change all entries and deal with the consequences? :-)

I do not see any problems here especially for gpart(8).
bsdlabel(8) does not use gpart(8), it still can write label directly to
the provider and it will be detected as before.

-- 
WBR, Andrey V. Elsukov


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iQEcBAEBAgAGBQJOCMpNAAoJEAHF6gQQyKF610sH+gI1YkmdkeCLLDZdn/UUozb8
pUa+2uhH7TlrKsXLzBlL416iMskNNcuSXwXNPr22G4v/PS0LRQKXwQQXblTa+tlM
H2Fnuksos3PWTy3u+IUgbMIVY12CG27xHLg20fBZ3ji3vMPyokJ4nE7/xnnmbD4N
SY1u1Kr86aYxGkgMazfl7RbjNbNYYlAENvg5Tz8yPo0EoCE55LEIZIMuRs7X53i4
QhG68coid3uy4EFh6QiI0QOoKJi0Zp9ku0ryt+M2QucqCEIpS9PZ+ghQ3oFc5F0s
CtFVq8Jf46US/rCJwUPgu+qGvV4/nucWigefvU0LiTHRnCpbwt+kO0S7kCxw6zM=
=B7LZ
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E08CA46.6030904>