From owner-p4-projects Sat May 25 23:21:30 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E597D37B405; Sat, 25 May 2002 23:21:15 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AC4F237B40E for ; Sat, 25 May 2002 23:21:11 -0700 (PDT) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4Q6LBe54397 for perforce@freebsd.org; Sat, 25 May 2002 23:21:11 -0700 (PDT) (envelope-from marcel@freebsd.org) Date: Sat, 25 May 2002 23:21:11 -0700 (PDT) Message-Id: <200205260621.g4Q6LBe54397@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar Subject: PERFORCE change 11895 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=11895 Change 11895 by marcel@marcel_vaio on 2002/05/25 23:20:39 I overlooked a sentence in the EFI spec that says that there must be a minimum of 16KB for the GPT entries. This boils down to 128 entries. So, bump up our default maximum to the EFI minimum. Note that we deliberately don't enforce this minimum at the moment. There may not be enough free space on a MBR disk to migrate it to a GPT disk with entries for 128 partitions... Affected files ... ... //depot/projects/ia64/sbin/gpt/gpt.c#2 edit Differences ... ==== //depot/projects/ia64/sbin/gpt/gpt.c#2 (text+ko) ==== @@ -30,7 +30,7 @@ * Possible options: * -r readonly mode (maybe default and have -w?) * -v be verbose - * -p n make room for n partitions (default 64?) + * -p n make room for n partitions (default 128 - minimum) * -f x read commands from file x. * * Possible usages: @@ -562,7 +562,7 @@ } } if (!maxparts) - maxparts = 64; + maxparts = 128; argc -= optind; argv += optind; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message