From owner-freebsd-questions@FreeBSD.ORG Fri Oct 12 13:51:33 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 A3646C5E for ; Fri, 12 Oct 2012 13:51:33 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 58C948FC14 for ; Fri, 12 Oct 2012 13:51:33 +0000 (UTC) Received: from r56.edvax.de (port-92-195-110-131.dynamic.qsc.de [92.195.110.131]) by mx01.qsc.de (Postfix) with ESMTP id 026DE1A; Fri, 12 Oct 2012 15:51:31 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q9CDpV1X002475; Fri, 12 Oct 2012 15:51:31 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 12 Oct 2012 15:51:31 +0200 From: Polytropon To: jb Subject: Re: portmaster options Message-Id: <20121012155131.2c9e4dba.freebsd@edvax.de> In-Reply-To: References: <20121012143100.1e470f79@gumby.homeunix.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2012 13:51:33 -0000 On Fri, 12 Oct 2012 13:42:10 +0000 (UTC), jb wrote: > 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 :-) But this? # portmaster -L --index | egrep '(ew|ort) version|total install' /tmp/d-87852-index/INDEX-9.bz2 100% of 1619 kB 125 kBps 00m00s Terminated This is with --index and _no_ ports collection in the default location (example quoted from your message)... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...