From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 7 02:06:58 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C090916A4CE; Tue, 7 Sep 2004 02:06:58 +0000 (GMT) Received: from mail.wolves.k12.mo.us (duey.wolves.k12.mo.us [207.160.214.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F32943D41; Tue, 7 Sep 2004 02:06:58 +0000 (GMT) (envelope-from cdillon@wolves.k12.mo.us) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id DB2BE1FE27; Mon, 6 Sep 2004 21:06:57 -0500 (CDT) Received: from mail.wolves.k12.mo.us ([127.0.0.1]) by localhost (mail.wolves.k12.mo.us [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25501-01-5; Mon, 6 Sep 2004 21:06:56 -0500 (CDT) Received: by mail.wolves.k12.mo.us (Postfix, from userid 1001) id 1BE2F1FE25; Mon, 6 Sep 2004 21:06:56 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id 1A0E01A902; Mon, 6 Sep 2004 21:06:56 -0500 (CDT) Date: Mon, 6 Sep 2004 21:06:56 -0500 (CDT) From: Chris Dillon To: "Ralf S. Engelschall" In-Reply-To: <20040903113657.I4214@sasami.jurai.net> Message-ID: <20040906205640.U25187@duey.wolves.k12.mo.us> References: <20040903151831.GA84131@engelschall.com> <20040903113657.I4214@sasami.jurai.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at wolves.k12.mo.us cc: freebsd-hackers@FreeBSD.ORG cc: "Matthew N. Dodd" Subject: Re: Request for Review: UFS2 Snapshot Management Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 02:06:58 -0000 On Fri, 3 Sep 2004, Matthew N. Dodd wrote: > On Fri, 3 Sep 2004, Ralf S. Engelschall wrote: > ... >> | $ cat /snap/home:hourly.1/rse/foo.txt /snap/home:hourly.0/rse/foo.txt >> foo.txt > > Now you just need to hack sys/kern/vfs_lookup.c to do the right > thing when you ask for /path/.snapshot. I recently set up a FreeBSD 5.3 box running Samba to hold all of our Windows users home directories. I've already had to restore a few files from the daily backups because somebody hosed their files in one way or another. Having hourly snapshots like this will be great. Currently I will have to set up special Samba access to the snapshot area which will make using them a bit harder, but having a '.snapshot' directory inside each directory would be ideal. Great work!