473,786 Members | 2,765 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3029
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
1079
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 build_ext Traceback (most recent call last): File "setup.py", line 16, in ? py_modules=,
2
2659
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
2729
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 which wraps around the XML and lets you instantiate classes for each request, like: req = PropFindRequest(myRequestText) resp = PropFindResponse(files) I've found two possibilities so far:
7
5024
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 harder one: Windows. My question is: How do I implement a virtual partition that acts like a real file-system and is compleatly transparent to other programs? Should I make a virtual file allocation table for a FAT32 partition or simulate an...
7
1754
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. The easy solution would be to use a zip file or a tar file. Python has good standard modules for accessing those types. However, I would tend to think that modifying or deleting files in the archive would require rewriting the entire archive. ...
3
2357
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 virtual folder. The only requirement I have is that explorer should behave like for real filesystem folders (d.h. file types, context menu, columns, view, toolbar, etc). This means every application may access the contents on that device, using...
2
5559
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 need to implement certain functions, like the read, write, and delete that should be referenced by the fuse_main function. Now whenever my program uses the standard C functions, it references the functions i created to manipulate the file in my file...
6
3571
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 for that in Linux....... Is any library available in .Net
5
3483
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 would imply to have to change sudoers to run the script as non-root. Thanks Ric
0
9496
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9961
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8989
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7512
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6745
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5534
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4066
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3669
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.