From owner-freebsd-questions@FreeBSD.ORG Wed Dec 17 08:47:15 2008 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 66F391065672 for ; Wed, 17 Dec 2008 08:47:15 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3CD218FC0C for ; Wed, 17 Dec 2008 08:47:15 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 1D5BEAFBC02; Tue, 16 Dec 2008 23:47:14 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Wed, 17 Dec 2008 09:47:12 +0100 User-Agent: KMail/1.9.7 References: <4947B8AB.7000304@dugas-family.org> In-Reply-To: <4947B8AB.7000304@dugas-family.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812170947.12794.fbsd.questions@rachie.is-a-geek.net> Cc: Bernard Dugas Subject: Re: Extracting changed files list from snapshot 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, 17 Dec 2008 08:47:15 -0000 On Tuesday 16 December 2008 15:18:19 Bernard Dugas wrote: > I want to extract the list of files changed between 2 snapshots, to be > able to do efficient backups. Just use dump(8)? And what snapshots do you mean? As in mksnap_ffs? Cause that's described in /usr/src/sys/ufs/ffs/ffs_snapshot.c: 127 TAILQ_HEAD(snaphead, inode); 128 129 struct snapdata { 130 struct snaphead sn_head; 131 daddr_t sn_listsize; 132 daddr_t *sn_blklist; 133 struct lock sn_lock; 134 }; 135 and not exposed to userland. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.