This forum has been archived. All content is frozen. Please use KDE Discuss instead.
The Discussions and Opinions forum is a place for open discussion regarding everything related to KDE, within the boundaries of KDE Code of Conduct. If you have a question or need a solution for a KDE problem, please post in the apppropriate forum instead.

Suggestion: a general inotify daemon

Tags: None
(comma "," separated)
bonassis
Registered Member
Posts
59
Karma
0
OS

Suggestion: a general inotify daemon

Sun Apr 10, 2011 12:24 pm
Hello,

I'm developing a construction where a FUSE filesystem plays an important role. It's like GoboLinux, it offers the user an uncommon environment like:

/Computer
/Home
/Internet Services
/Mounts
/Network
/Shared
/System

where Computer contains all relevant hardware like partitions on harddrives and USB sticks, Cdroms. TODO are printers, scanners and camera's. Home gives access to the own homedirectory, Internet Services contains services like Amazon S3 Online Storage and Google Docs, Mounts is a location where the user can mount on demand, Network contains networkservices like SMB shares (="Windows Network"), Shared contains files shared with all users on this computer, and System is system related.

As you can see the standard directories like /bin, /usr and /lib are not there. Well, they are there, but hidden. A normal *ix system cannot run without them!! The FUSE fs (fuse-workspace) is responsible for this behaviour.

Now this works ok. I'm now working on replacing the automounter, which did all the mounting if resources so far, by making the FUSE module fuse-workspace do the mounting self.

This environment is not complete yet. A good inotify system is required to handle all the inotify requests. Note: a inotify, not notify. There has been some discussion about notify systems, but these are about notifying the user. What I'm talking about is how to handle (i)notify request to stay up to date per entry/inode.

Available for this purpose has been Gamin, a successor of FAM.
In my construction Gamin is completly useless.
Futher, Gamin does handle only the localhost. Maybe its also very usefull for the system/apps to recieve "notify events" on files and/or directories on the Internet (like some cloudservice, example Google Docs, Amazon S3 etc).

So I'm thinking about starting the development of a inotify service/construction which is able to handle internet/network services and local directories. I do not know how yet, but I have some ideas.

Anybody else some suggestions, idea's??

Stef Bon
Voorburg
the Netherlands


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]