Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2012 15:51:31 +0200
From:      Polytropon <freebsd@edvax.de>
To:        jb <jb.1234abcd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: portmaster options
Message-ID:  <20121012155131.2c9e4dba.freebsd@edvax.de>
In-Reply-To: <loom.20121012T153839-52@post.gmane.org>
References:  <loom.20121012T063245-859@post.gmane.org> <20121012143100.1e470f79@gumby.homeunix.com> <loom.20121012T153839-52@post.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 12 Oct 2012 13:42:10 +0000 (UTC), jb wrote:
> 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 :-)

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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121012155131.2c9e4dba.freebsd>