ANN: pythonfs - create linux filesystems in python
alanmk at hotmail.com
Mon Dec 8 14:26:02 CET 2003
>>a framework which allows mountable linux filesystems to be
>>implemented in pure python.
> Serious question: why?
One very serious usage that springs to mind is to implement a
versioned virtual file system, in combination with a version control
system like subversion (subversion.tigris.org).
ClearCase (the versioning system) has the concept of such virtual file
systems. You specify a view of the "Versioned Object Base" (VOB): the
view is specified using dates/labels/revision numbers/etc, and is
specified inside a "config spec" file. 
Once you have specified your configspec, ClearCase creates a virtual
file system, in which every file and directory actually resides inside
the ClearCase VOB, so you are actually working directly on versioned
files, even though your filesystem just looks like a plain ordinary
file system: no special tools or techniques required.
Subversion supports python fantastically well:-
o Python scripts can be executed pre- and post-commit
o Python interfaces to all the important subversion libraries are
available, through SWIG
It seems to me that David's work could be the last link in the chain
to creating a complete VFS-based versioning system, using python and
And that's just one idea that occurred to me: I'm sure that there are
*plenty* of others.
Nice one David!
check http headers here: http://xhaus.com/headers
email alan: http://xhaus.com/contact/alan
More information about the Python-list