473,396 Members | 1,816 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Virtual filesystem in python ( Fuse or WebDav ? )

I want to create a virtual filesystem based on a relational database.
It might run as a server on a different machine, but it has to be
available like a normal filesystem, either shared using SAMBA or
windows filesharing or thru something else like WebDav.

The idea is that I scan a local filesystem and then create relations
between those files stored in a relational database, eg. a create a
group called family, add a bunch of files related to my family in that
virtual group/folder. When the user accesses the virtual filesystem
and types ls or dir the result is a list of groups, in my case ., ..
and family. The user types "cd family" and dir/ls in that virtual
folder will show all files in that group. How can this be done? I've
looked at dav, especially mod_dav and fuse. I want to be able to
access the files ( and even add files, like if I copy a file into the
family-folder, a relation in the relational database will be created,
but the newly added file itself might be stored some other place on
the filesystem, based on extension or perhaps EXIF-info if it's an
image being added ) using standard filesystem tools, like explorer on
win32 or the shell on linux.

I don't think I can use WebDav directly, because I want to control
what happens if somebody copies a file into a virtual folder, but I
don't know much about webdav so I might be wrong.

Any hint or clue would be appreciated.

Oct 9 '07 #1
1 3012
On 2007-10-09, Thomas W <th***********@gmail.comwrote:
I want to create a virtual filesystem based on a relational
database. [...]
http://en.wikipedia.org/wiki/Filesystem_in_Userspace
http://fuse.sourceforge.net/

--
Grant Edwards grante Yow! I'm a nuclear
at submarine under the
visi.com polar ice cap and I need
a Kleenex!
Oct 9 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: JiggaHertz | last post by:
I'm trying to build the python interface to fuse and this is my first time using python. I'm getting the following errors # python setup.py build running build running build_py running...
2
by: Dan Stromberg | last post by:
Are there any reasonably secure file browser implementations for unix/linux (and perhaps MacOS X and Windows as well) written in python, that are accessed over https via a cgi script? Thanks.
2
by: Andrew James | last post by:
All, I've been trying to find a generic WebDAV library (possibly with the extra versioning extensions) in Python for a project I'm developing with mod_python. Ideally, I'm looking for one which...
7
by: Atila Olah | last post by:
I'm working on a project to implement a simple cross-platform file sharing protocol (using Python) that is similar to HTTP, and I have to write a GUI for Windows and Linux. But let's start with the...
7
by: Enigma Curry | last post by:
I need to store a large number of files in an archive. From Python, I need to be able to create an archive, put files into it, modify files that are already in it, and delete files already in it. ...
3
by: Mike | last post by:
I'd like to have a virtual folder for a special device to be integrated into explorer's filesystem view. The preferable way would be to have an individual drive. But it is also acceptable to have a...
2
by: Sebouh | last post by:
Hi all. I'm not sure if this is the right place to ask, but here it goes. I'm trying to create a file system using the File System in User Space (FUSE) kernel module. From what i have understood, i...
6
by: kducoder | last post by:
hey friends., Can we create a custom file system in C#. In linux i used FUSE library to access my files in web server..... I wanted to mount that as a file system.. I used FUSE library...
5
by: Ricardo Tiago | last post by:
Hi all, is there a package in python that allows to mount/umount and format (to ext3) a filesystem? I know that this is possible by just calling the os commands 'mount/umount and mkfs' but this...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.