From owner-freebsd-stable@FreeBSD.ORG Tue Feb 28 09:22:35 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CB0716A420 for ; Tue, 28 Feb 2006 09:22:35 +0000 (GMT) (envelope-from nike_d@cytexbg.com) Received: from office.suresupport.com (office.suresupport.com [213.145.98.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 8BA0343D45 for ; Tue, 28 Feb 2006 09:22:34 +0000 (GMT) (envelope-from nike_d@cytexbg.com) Received: (qmail 38325 invoked by uid 1026); 28 Feb 2006 09:26:03 -0000 Received: from 213.145.98.14 by office.suresupport.com (envelope-from , uid 1004) with qmail-scanner-1.23 (f-prot: 4.4.2/3.14.11. Clear:RC:1(213.145.98.14):. Processed in 0.101682 secs); 28 Feb 2006 09:26:03 -0000 Received: from unknown (HELO 14.98.145.213.in-addr.arpa) (213.145.98.14) by office.suresupport.com with SMTP; 28 Feb 2006 09:26:03 -0000 From: Niki Denev To: Kris Kennaway Date: Tue, 28 Feb 2006 11:24:53 +0200 User-Agent: KMail/1.9.1 References: <200602281040.36507.nike_d@cytexbg.com> <200602281055.34762.nike_d@cytexbg.com> <20060228085931.GB44851@xor.obsecurity.org> In-Reply-To: <20060228085931.GB44851@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602281124.54390.nike_d@cytexbg.com> Cc: stable@freebsd.org Subject: Re: filesystem snapshot timestamp not correct? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2006 09:22:35 -0000 On Tuesday 28 February 2006 10:59, Kris Kennaway wrote: > On Tue, Feb 28, 2006 at 10:55:34AM +0200, Niki Denev wrote: > > On Tuesday 28 February 2006 10:48, you wrote: > > > Hi > > > > > > On Tue, 28 Feb 2006 10:40:36 +0200, > > > > > > Niki Denev wrote: > > > > Any ideas? Probably i'm doing something wrong, but can't see it > > > > yet... > > > > > > Tri it. > > > > > > DIR=/.snap > > > nice sh -c "cd $DIR ; rm -rf `date -v-7d +'snapshot-%d-%m-%y'`" > > > ----+----1----+----2----+----3----+----4----+----5----+----6----+ > > > NAKAMURA Takeshi <1yen@sh.rim.or.jp> > > > I have poor english. > > > > Thanks, this will work... but i was under the impression that > > the snapshots will have meaningful timestamps too. > > At least this is what is mentioned in > > /usr/src/sys/ufs/ffs/README.snapshot : > > > > 2) Run dump on the snapshot. You will get a dump that is > > consistent with the filesystem as of the timestamp of the > > snapshot. > > It means "as of the time the snapshot was made". > > Kris I see, thanks :) So then is there any meaningful value of the timestamps i get with 'ls'? Niki Niki