From owner-freebsd-bugs@FreeBSD.ORG Wed Nov 15 13:02:18 2006 Return-Path: X-Original-To: freebsd-bugs@freebsd.org Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 248D716A403; Wed, 15 Nov 2006 13:02:18 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7679D43D68; Wed, 15 Nov 2006 13:02:17 +0000 (GMT) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan [127.0.0.1]) by aldan.algebra.com (8.13.8/8.13.7) with ESMTP id kAFD2Gph057897 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Nov 2006 08:02:16 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.13.8/8.13.7/Submit) id kAFD2Gtn057896; Wed, 15 Nov 2006 08:02:16 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: Parv Date: Wed, 15 Nov 2006 08:02:15 -0500 User-Agent: KMail/1.9.5 References: <200611142154.kAELsKN4007777@freefall.freebsd.org> <200611141703.38311.mi+mx@aldan.algebra.com> <20061115053943.GA34474@holestein.holy.cow> In-Reply-To: <20061115053943.GA34474@holestein.holy.cow> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: freebsd-bugs@freebsd.org, Erwin Lansing Subject: Re: bin/34628: [pkg_install] [patch] pkg-routines ignore the recorded md5 checksums X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2006 13:02:18 -0000 On Wednesday 15 November 2006 00:39, Parv wrote: = > Anyway, what is the overhead exactly? = = Is that a trick question? Overhead would be in the time & other = computer resources (file handles, CPU time, etc.) it will take to = calculate the MD5 check sum for all the files of a installed port. No, the checksums are only computed for the files given to the -W option -- an infrequent operation. = Imagine that when installing more than one or two ports, or a large = one. I don't need to "imagine" it -- it already happens :-) Every time you install a port, every file is checksummed and the sum is recorded. My patch simply makes use of that information to make the `-W' option more useful. Have I dispelled the "overhead" argument? -mi