From owner-svn-src-head@FreeBSD.ORG Thu Nov 20 17:23:51 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D8B45F5 for ; Thu, 20 Nov 2014 17:23:51 +0000 (UTC) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A5452B40 for ; Thu, 20 Nov 2014 17:23:51 +0000 (UTC) Received: by mail-pa0-f50.google.com with SMTP id bj1so2927470pad.23 for ; Thu, 20 Nov 2014 09:23:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=BXZ1LleO5ORKQ4RSwkn70JDPxB/SUWiQm591Y95pEXA=; b=YlIeS/M8pA6d1taTm80RipH7J3d9tD3QUFOz3HlZTWP/BQ13QIO/R0mxXyfSMo0J4f 7usUUKSbUkJxiUOhTQXgpg7AzMgPFuOyXW4y77f1IW9Z0sIACN/t57+XCD2sDxQ7A5VH 58TetW6tjC8Z1M8MK4INjrKJPa35YW7rmZny0K3n++U1HRRw6OMlOzSUN9nBZzOaZZuG Y+3q1Q03Yq+XSDPRavqiv1QohSoHldaRhL6vbCg04NjgX6LJH8Lkv5zplIsOwjSPVT7M gzdT2ICz0CoapHJiY/qXj1lB/BO+Ep3yhxOuTZNP7WaRpB47WVIcah6BhnNILMDPEL6X UG8A== X-Gm-Message-State: ALoCoQnVsQZD4IDaBQLaRUXDW8F0XQ0rM65KPJg1YXeu2BFRovdsDbWTSshQOKrHWw7bD39tOuZ5 X-Received: by 10.66.218.42 with SMTP id pd10mr24292027pac.151.1416504222683; Thu, 20 Nov 2014 09:23:42 -0800 (PST) Received: from [10.64.27.119] ([69.53.236.236]) by mx.google.com with ESMTPSA id mp5sm2575664pbc.33.2014.11.20.09.23.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Nov 2014 09:23:41 -0800 (PST) Sender: Warner Losh Content-Type: multipart/signed; boundary="Apple-Mail=_07A06FE2-EABC-4DB7-BD19-9D7B67C4EE56"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: svn commit: r274661 - in head/sys: conf geom/part modules/geom/geom_part/geom_part_bsd From: Warner Losh In-Reply-To: <546E08BA.1020707@FreeBSD.org> Date: Thu, 20 Nov 2014 10:23:38 -0700 Message-Id: <6A0453EA-0DAC-4901-AF29-F75E2787B76A@bsdimp.com> References: <201411181706.sAIH6eS9051888@svn.freebsd.org> <546CC245.3070700@FreeBSD.org> <546CDABC.9020103@FreeBSD.org> <546E08BA.1020707@FreeBSD.org> To: "Andrey V. Elsukov" X-Mailer: Apple Mail (2.1878.6) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers , Warner Losh X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2014 17:23:52 -0000 --Apple-Mail=_07A06FE2-EABC-4DB7-BD19-9D7B67C4EE56 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Nov 20, 2014, at 8:28 AM, Andrey V. Elsukov wrote: > On 19.11.2014 21:49, Warner Losh wrote: >>=20 >> On Nov 19, 2014, at 11:00 AM, Andrey V. Elsukov = wrote: >>=20 >>> 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 >>>=20 >>> gpt_entries isn't related to GPT, it is `geom partition table's` = number >>> of partitions entries. Each instance of partition table (i.e. geom) = can >>> have own number of partitions. MBR always has 4, but GPT or BSD can = have >>> different numbers. >>=20 >> Ah, OK. Thanks for the explanation. I understand. I=92ll work up a = patch. >=20 > Hi, Warner >=20 > since there are some reports about strange behavior of old utilities > after this commit, maybe we won't repair them by this way? > What you think about this path? It doesn=92t thrill me. What=92s it trying to do? And localizing it to = fsck is useless. And where are these reports? Warner --Apple-Mail=_07A06FE2-EABC-4DB7-BD19-9D7B67C4EE56 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJUbiOaAAoJEGwc0Sh9sBEAo0IP/Ajsfkf5WK3202Ob/awWVdhT nqRN31xOgItgwdcTHSNsHQaGKn3GmxEGWO8EROGhtD5FzxyHADMZU+lJ/xgxN4lo ICfWEUnWvWm06J45qlZLQPUlPpjR/Q2Pr6pIy0JtDHNEBWLtoNsyAhPZZGKzA/IL hPakHQh4DCLnfwoAwL0UHQsdNi95LpDHdRT8GuTpF30Z8kCE4sN4Xffz5YIO0Cmk jWYbmz+L7FzDzgjubRmEL0y533WMr5Q/GYR2MX2dwk9Gpcloaui/Z/ZZc+Z4KLe7 9NVq/VkqYTFjAj75xu9Ykfi51vLUFvThhL3GRZsSFyTiYRqKa6osXHd7WMfk79Sa yiFSD3FLSGcLV0I75AC+vUoNqzctj4z2ituGM27EnZS6XZ4ap/PvC0rLhjkZR7uy jnGov1kRtWZhcD4AN1UfyhLhUZykQv+WI0FDRVgdgIhpkpLzAVi0xLY3vGY+nJJY 3A4+T9RP9nbPYQRe5xvfkbmQ617AlhR7G4F4YngVuH3odpFm9LKcyik72k/b6lag HYrmNdIeU5joDNJCeByNtahx6tgm6ivpfy4Kcm8ZDGsiBNb5tRylgX/RCvH4aQR6 J8uHVtHIhwGb1An+IisgLzjgizR0ynUqhVg3MJifJly2ZXQHavCpG1y7+ICXE+OZ 10Ga1XKHfjJrqodxNK6a =/TOi -----END PGP SIGNATURE----- --Apple-Mail=_07A06FE2-EABC-4DB7-BD19-9D7B67C4EE56--