Nicolas Williams wrote:
On Fri, Oct 06, 2006 at 03:30:20PM -0600, Chad Leigh -- Shire.Net LLC wrote:
On Oct 6, 2006, at 3:08 PM, Erik Trimble wrote:
OK. So, now we're on to FV. As Nico pointed out, FV is going to
need a new API. Using the VMS convention of simply creating file
names with a version string afterwards is unacceptible, as it
creates enormous directory pollution,
Assumption, not supported. "Eye of the beholder."
No, you really need an API, otherwise you have to guess when to snapshot
versions of files.
David Dyer-Bennet's post gives a hint of how this could be done without
any API. Simply augment a few system calls like open(), unlink(), etc.
Calls that can potentially change files. Since you can't change a file
unless is open()'ed with various write flags like O_WRONLY, O_RDWR, etc,
this could be an ideal place to create the version.
One could probably write a "poor man's" FV LD_PRELOAD library to do this
without the filesystem's knowledge at all.
It wouldn't be as efficient with space as could be done at the
filesystem level, but as someone said, disk is cheap.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss