Re: Virtual WORM device

Andreas Dilger
2003-01-07T18:46:56Z

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