Development/Tutorials/Metadata/Nepomuk/FileWatchService

From KDE TechBase
Revision as of 20:35, 17 November 2008 by Trueg (talk | contribs) (New page: {{TutorialBrowser| series=Nepomuk| name=Nepomuk Ontology Loader Service| pre=Ontology Loader Service| next=Strigi Service| reading...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Nepomuk Ontology Loader Service
Tutorial Series   Nepomuk
Previous   Ontology Loader Service
What's Next   Strigi Service
Further Reading   Nepomuk Services, Nepomuk Server

Nepomuk File Watch Service

The File Watch service monitors the file system for changes. If files are deleted, the corresponding metadata is removed from the Nepomuk store. If files are moved, the URIs (file resources always have their file URL as RDF resource URI) and the file path are updated.

However: due to the restrictions of all file watching systems available (systems such as inotify are restricted to 8000 something watches, fam does not support file moving monitoring, etc.) the service mostly relies on KDirNotify. Thus, all operations performed by KDE applications through KIO are monitored while all other operations (such as console commands) are missed.

This is a big problem and needs work, maybe even on the kernel/libc level. Help wanted!