Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jun 2011 12:29:27 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Extract particular date snapshot from /var/db/portsnap?
Message-ID:  <20110615122927.695d103d@gumby.homeunix.com>
In-Reply-To: <20110615084430.GG5630@external.screwed.box>
References:  <20110615000951.GD5630@external.screwed.box> <AD65C2C8-0A83-4AC1-A50E-555CC04EBE91@mac.com> <20110615003434.GE5630@external.screwed.box> <20110615085122.1d4ae0be@gumby.homeunix.com> <20110615084430.GG5630@external.screwed.box>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 15 Jun 2011 12:44:30 +0400
Peter Vereshagin <peter@vereshagin.org> wrote:

> You can't take no for an answer, freebsd-questions!
> 2011/06/15 08:51:22 +0100 RW <rwmaillists@googlemail.com> => To
> freebsd-questions@freebsd.org :
> R> > - From what I see in /var/db/portsnap/files/ it keeps every file
> R> > it had ever downloaded: they all have different times.
> R> 
> R> It doesn't, it's a snapshot. The timestamps just reflect the last
> R> time each particular object was updated.
> 
> Hmm... looks like only a current ports state is kept in those tars:
> 
> $ tar
> -ztf /var/db/portsnap/files/12312e0e54a707a22613b0394a976c9d2044e98728b51c592d6e9a42c989300c.gz
> Makefile distinfo
> pkg-descr
> pkg-plist
> 
> such a single '.gz' extension was a false hint to me those are diffs.

It does download diffs, but it applies them to the snapshot, and then
discards them.







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