From owner-cvs-all Mon Jan 7 0: 8:52 2002 Delivered-To: cvs-all@freebsd.org Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by hub.freebsd.org (Postfix) with ESMTP id 883A337B41E for ; Mon, 7 Jan 2002 00:08:40 -0800 (PST) Received: (qmail 18314 invoked from network); 7 Jan 2002 08:08:40 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 7 Jan 2002 08:08:40 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200201070747.g077lPr51316@freefall.freebsd.org> Date: Mon, 07 Jan 2002 00:08:28 -0800 (PST) From: John Baldwin To: Matt Dillon Subject: RE: cvs commit: src/lib/libdisk chunk.c libdisk.h Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org 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 07-Jan-02 Matt Dillon wrote: > dillon 2002/01/06 23:47:25 PST > > Modified files: > lib/libdisk chunk.c libdisk.h > Log: > Modify Delete_Chunk() into Delete_Chunk2() which can take a flags > argument. Leave a compatibility shim for Delete_Chunk(). > > Implement DELCHUNK_RECOVER flag so sysinstall can ask libdisk > to recover space when deleting a chunk. Why not implement a Merge_Chunk() that takes two chunks and tries to delete the second and move its space into the first. This would seem to be a cleaner change in the API. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message