From owner-cvs-all Fri Jan 10 11:34: 1 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00F4337B407 for ; Fri, 10 Jan 2003 11:34:00 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 96C6043F43 for ; Fri, 10 Jan 2003 11:33:58 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 24739 invoked by uid 1000); 10 Jan 2003 19:33:59 -0000 Date: Fri, 10 Jan 2003 11:33:59 -0800 (PST) From: Nate Lawson To: John Baldwin Cc: cvs-all@freebsd.org, cvs-committers@freebsd.org Subject: Re: [src] cvs commit: src/lib/libdisk chunk.c create_chunk.c libdisk.h In-Reply-To: <20030110192542.CDB2637B425@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 10 Jan 2003, John Baldwin wrote: > Modified files: > lib/libdisk chunk.c create_chunk.c libdisk.h > Log: > - Make New_Disk() non-static so it can be used in Create_Chunk_DWIM(). > - In Create_Chunk_DWIM(), if there is a freebsd chunk that has no > children chunks, then trying to add a child part chunk will fail even > though there is free space. Handle this special case by adding an > unused chunk the full size of the freebsd chunk as a child of the > freebsd chunk before adding the new part chunk. This situation can > happen when changing the type of an existing slice to be a FreeBSD > slice type or when installing onto a blank disk on Alpha (which has > no slices.) > > Reviewed by: phk > MFC after: 2 days Great! Please update bin/24435 (yes, this has been around a shameful amount of time) -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message