From mboxrd@z Thu Jan 1 00:00:00 1970 From: alan Subject: Re: Versioning file system Date: Fri, 15 Jun 2007 16:01:14 -0700 (PDT) Message-ID: References: <46731169.2090002@hawkeye.stone.uk.eu.org> <4673194D.4090500@intel.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Jack Stone , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, akpm@linux-foundation.org, viro@zeniv.linux.org.uk To: "Kok, Auke" Return-path: Received: from 216-99-213-120.dsl.aracnet.com ([216.99.213.120]:45882 "EHLO clueserver.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758859AbXFOXBP (ORCPT ); Fri, 15 Jun 2007 19:01:15 -0400 In-Reply-To: <4673194D.4090500@intel.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Fri, 15 Jun 2007, Kok, Auke wrote: > Jack Stone wrote: >> I hope I got the CC list right. Apologies to anyone in didn't include >> and anyone I shouldn't have included. >> >> The basic idea is to include an idea from VMS that seems to be quite >> useful: version numbers for files. > > > > have you looked into ext3cow? it allows you to take snapshots of the entire > ext3 fs at a single point, and rollback / extract snapshots at any time > later. This may be sufficient for you and the implementation seems to be > rather stable already. As long as there is only one person using the file system. Rolling back the entire filesystem may work well for you, but screw up something else someone else is doing. And what kind of rights do you have to assign to the user to do that level of snapshot and rollback? You have to assume that there are more than one user and that they have less than root privileges. -- "ANSI C says access to the padding fields of a struct is undefined. ANSI C also says that struct assignment is a memcpy. Therefore struct assignment in ANSI C is a violation of ANSI C..." - Alan Cox