Extract particular date snapshot from /var/db/portsnap?

Peter Vereshagin peter at vereshagin.org
Wed Jun 15 08:45:14 UTC 2011


You can't take no for an answer, freebsd-questions!
2011/06/15 08:51:22 +0100 RW <rwmaillists at googlemail.com> => To freebsd-questions at freebsd.org :
R> > - From what I see in /var/db/portsnap/files/ it keeps every file it
R> > had ever downloaded: they all have different times.
R> 
R> It doesn't, it's a snapshot. The timestamps just reflect the last time
R> 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.
Thanks all.

73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB  12F8 0CE1 4AAC A0E2 6627)
--
http://vereshagin.org


More information about the freebsd-questions mailing list