From owner-freebsd-questions@FreeBSD.ORG Fri Oct 12 13:42:31 2012 Return-Path: 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 67C6862D for ; Fri, 12 Oct 2012 13:42:31 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1E39A8FC17 for ; Fri, 12 Oct 2012 13:42:30 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TMfVY-0004pk-Ra for freebsd-questions@freebsd.org; Fri, 12 Oct 2012 15:42:33 +0200 Received: from 79-139-19-75.prenet.pl ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Oct 2012 15:42:32 +0200 Received: from jb.1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Oct 2012 15:42:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Subject: Re: portmaster options Date: Fri, 12 Oct 2012 13:42:10 +0000 (UTC) Lines: 43 Message-ID: References: <20121012143100.1e470f79@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; FreeBSD i386; rv:16.0) Gecko/20100101 Firefox/16.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2012 13:42:31 -0000 RW googlemail.com> writes: > > On Fri, 12 Oct 2012 04:35:43 +0000 (UTC) > jb wrote: > > > Hi, > > what is the diff between > > --index > > and > > --index-only > > From a *very* quick look, it appears that --index-only means don't use > the the port-directory at all, so that the index file is downloaded > into /tmp, and some checks and optimizations are skipped or done > less efficiently. > ... # ls -al /usr/ports/ ... -rw-r--r-- 1 root wheel 26881412 Oct 12 07:47 INDEX-7 -rw-r--r-- 1 root wheel 26765446 Oct 12 07:47 INDEX-8 -rw-r--r-- 1 root wheel 26715339 Oct 12 13:28 INDEX-9 -rw-r--r-- 1 root wheel 1658547 Oct 12 12:01 INDEX-9.bz2 ... # # find /tmp -name "*INDEX*" # portmaster -L --index-only | egrep '(ew|ort) version|total install' ===>>> New version available: smartmontools-5.43_1 ===>>> 618 total installed ports ===>>> 1 has a new version available # find /tmp -name "*INDEX*" Nope :-) jb