From owner-freebsd-questions@FreeBSD.ORG Sun Dec 24 13:18:05 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24E8016A403 for ; Sun, 24 Dec 2006 13:18:05 +0000 (UTC) (envelope-from yuleopen@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.232]) by mx1.freebsd.org (Postfix) with ESMTP id DD99613C46F for ; Sun, 24 Dec 2006 13:18:04 +0000 (UTC) (envelope-from yuleopen@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so1437251nzh for ; Sun, 24 Dec 2006 05:18:04 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kiXCcd82afObR/dJcJd3Qd1vMIXEQPACgl0f6gfunrSnFi0UXXKlyjDjpE9yXG9P7xONTKOK7E6YXW76weMsjNYYeOxxNLKPHWeECdeX4m8nF9apS9bGvUgUFqrcVCcwqXnyqNk+tiVje30gdt/u9famV06UA53WhlZf3TmT9u0= Received: by 10.64.199.2 with SMTP id w2mr15359070qbf.1166966284342; Sun, 24 Dec 2006 05:18:04 -0800 (PST) Received: by 10.65.244.3 with HTTP; Sun, 24 Dec 2006 05:18:04 -0800 (PST) Message-ID: <68bfdc900612240518o52dcc52cyef9b3a07f3b3115f@mail.gmail.com> Date: Sun, 24 Dec 2006 21:18:04 +0800 From: "Sherry Zhang" To: freebsd-questions@freebsd.org In-Reply-To: <20061224054239.GA4470@lgj.amnesia.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061224054239.GA4470@lgj.amnesia.net> Subject: Re: portversion vs. pkg_version X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Dec 2006 13:18:05 -0000 Mr. Lee: imho, portversion(uses the INDEX file to look up port versions) is like the desktop search(searh an index file), and the pkg_version( queries the port versions directly) is like the find command(search the entire disk);) use portversion instead, it's efficient cause it use port database. however, it will take a long time using portsdb to update the database file (the INDEX file) when you want to use portversion. ps,i like your essays on GNU/Linux, LaTex, etc. and I gain a lot from them Sherry Zhang On 12/24/06, Edward G.J. Lee wrote: > Hi all, > > What's the difference between `portversion' and `pkg_version -I'? > > Thanks. > > > Edward > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >