I wrote RFC: Fuse::DBI - mount database as filesystem about such virtual file-system (which mounts part of database). It uses Fuse perl bindings, so it embeds fuse into kernel and then just calls it from perl. It's very powerfull, but in strange file-system way.