Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2014 19:22:47 +0300
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers <src-committers@freebsd.org>, Warner Losh <imp@FreeBSD.org>
Subject:   Re: svn commit: r274661 - in head/sys: conf geom/part modules/geom/geom_part/geom_part_bsd
Message-ID:  <546CC3D7.9010500@FreeBSD.org>
In-Reply-To: <B523D699-9766-4806-9499-68FD9FF84437@bsdimp.com>
References:  <201411181706.sAIH6eS9051888@svn.freebsd.org> <546CC245.3070700@FreeBSD.org> <B523D699-9766-4806-9499-68FD9FF84437@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--BwRpQjkjEfgrDvTrebGur2A72qoHhR3Sh
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 19.11.2014 19:20, Warner Losh wrote:
>> Probably you need to use basetable->gpt_entries here instead of=20
>> MAXPARTITIONS.
>=20
> I=92m having trouble connecting the dots between GPT and BSDlabels. Why=

> would this field be relevant? Is it just poorly named? MAXPARTITIONS
> is the number of partitions we support. It=92s always a constant. While=

> there are other BSD label formats that have differing numbers, I
> don=92t think gpart supports those. But as always, I=92m always on the
> lookout for code improvements.

BSD label supports up to 20 partitons. You can specify different number
with `gpart create -n 20 -s bsd`. For such labels your code will return
EINVAL.

--=20
WBR, Andrey V. Elsukov


--BwRpQjkjEfgrDvTrebGur2A72qoHhR3Sh
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUbMPdAAoJEAHF6gQQyKF6uhgH/13V/kRtZ84NhK0+F/lL+WAj
FlxmDOEtJuRwLLeOgM1NmtJ/UPl4F/8CdGGqQj/G2R9oUF/z/hNV0AqAkKlK3O+c
Mt9/ITWSYbompBS1KgE51dQDGIqKmFCVDsI2I0GoxeGQvkcHHAChHfW1Fg9DG5pg
EgXlh44EPuzZ65R6HdpfB2TyK37JKQSfjMwJqRNyzYxULLzcyvelr2v49SHSbI8q
mqUfjHwInHueLpj5vdQin7wJR+xFbkqanKxdebUYx85aZ5m+qAJQR4cOTQvYvcxQ
SwzGJ4krV3CLbwRWv16vyiS7rcA3oJSLHCBjlQCxlV+OXayXWxzJaKiq1G4Fr9o=
=fsM9
-----END PGP SIGNATURE-----

--BwRpQjkjEfgrDvTrebGur2A72qoHhR3Sh--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?546CC3D7.9010500>