Re: Virtual WORM device

From: Andreas Dilger (adilger@clusterfs.com)
Date: Tue Jan 07 2003 - 13:53:57 EST


On Jan 07, 2003 18:41 +0000, John Bradford wrote:
> > Somebody should then modify `rm` and the kernel unlink
> > to `mv' files to the dumpster directory on the
> > file-system, instead of really deleting them.
>
> Another possibility would be to create a meta-device that works like a
> cross between the loopback device, and WORM device, I.E. start at the
> begining, and allocate sectors sequentially. Whenever a sector would
> normally be overwritten, a new one is allocated instead. This way,
> you could always access the filesystem as it was at any mount in time.

This is commonly called a filesystem snapshot, and you can already do
it with LVM.

Cheers, Andreas

--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:36 EST