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






_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to