Moreover such a dbfs should allow rapid development of views over data
(with different permissions) by simply write the query in a file and
then open the file for reading the XML.
I've tried a couple of times to map files / directories on to SQL and it
is not a great match imho.
I wrote a Limbo module that handles the postgresql protocol and frankly
that's as far as I thought it should be taken, writes are one time use
and any returned qureries are (potentially) outdated by the time the
client gets them. Any FS would end up as a read only cache with
somewhere to send sql writes and a load of logic that repeats what's on
the SQL server already.
I split my system into two - one to deal with the SQL and one that makes
a FS tree from columnated data. Though I abandoned dev on the tree
because I just ended up accessing the data through the Limbo pg module
directly.