From owner-freebsd-questions@FreeBSD.ORG Wed Jun 15 11:29:32 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE24C106564A for ; Wed, 15 Jun 2011 11:29:32 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 593178FC15 for ; Wed, 15 Jun 2011 11:29:31 +0000 (UTC) Received: by wyf23 with SMTP id 23so358721wyf.13 for ; Wed, 15 Jun 2011 04:29:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=iXKSEXYwG1ShFS0mMh0UmqmVYR5vWJpHlpm1RGWemZ8=; b=nbNhWMKVlfaUqGxePhX4yz1j9b9f/tmEjLs0+E+qeUIHzXonqQoYnaSeDl0Cc3vpiw 2ye0vJKhx5xQFACEQuCzanAgeay12oIVst46aGHcS0o+meIQR+BFctbgINuxUEo1isi8 ztmirZu+BQvm3kwGHFQMW5EhFG4rliAMPOo2k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=VwZtkFPm/kru1JY9xeDnH5nr8RjMlf93YNg6VpMGyZWTSLZpHUMKNUkSW1kyqmwbrj RUKfGrvyhZuBv1dTQxWe/4Ajp5+PhjI/zlqPBMaQ/tLnWT0V+lfSMfJyrezzwDqMqX3F uKy3C7N7NaDUWU7nNIx4vgtn7dG/3bCxrhGhg= Received: by 10.227.148.136 with SMTP id p8mr467050wbv.28.1308137371236; Wed, 15 Jun 2011 04:29:31 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id en1sm273218wbb.35.2011.06.15.04.29.29 (version=SSLv3 cipher=OTHER); Wed, 15 Jun 2011 04:29:30 -0700 (PDT) Date: Wed, 15 Jun 2011 12:29:27 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110615122927.695d103d@gumby.homeunix.com> In-Reply-To: <20110615084430.GG5630@external.screwed.box> References: <20110615000951.GD5630@external.screwed.box> <20110615003434.GE5630@external.screwed.box> <20110615085122.1d4ae0be@gumby.homeunix.com> <20110615084430.GG5630@external.screwed.box> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Extract particular date snapshot from /var/db/portsnap? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2011 11:29:32 -0000 On Wed, 15 Jun 2011 12:44:30 +0400 Peter Vereshagin wrote: > You can't take no for an answer, freebsd-questions! > 2011/06/15 08:51:22 +0100 RW => 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.