Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2012 13:42:10 +0000 (UTC)
From:      jb <jb.1234abcd@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: portmaster options
Message-ID:  <loom.20121012T153839-52@post.gmane.org>
References:  <loom.20121012T063245-859@post.gmane.org> <20121012143100.1e470f79@gumby.homeunix.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
RW <rwmaillists <at> 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









Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?loom.20121012T153839-52>