Hi, On Jan 15, 2008 3:47 PM, Jamie McCracken <[EMAIL PROTECTED]> wrote: > well what happens when you move a file? > > In tracker all the metadata moves with it (provided tracker is running > when you move it of course) > > with a dumb metadata daemon you lose it (all the metadata still points > to the old file) unless something keeps it in check (which as i said > means changing vfs, email apps etc to do this) > > even if you disable indexing in tracker it still does file monitoring so > that user defined metadata moves or is deleted as files are > moved/deleted hence it "just works". A dumb metadata storage daemon > would soon get out of sync
The fact that any metadata or indexer-related process has to handle this seems out-of-place. File monitoring and notification should probably be a publish/subscribe model handled by a desktop-wide service. The VFS seems like a logical place for this, or a new D-Bus API to gamin (if it were actively maintained). >From the Beagle perspective, we did this out of necessity rather than appropriateness. Considering how valuable inotify watches are on large systems, consolidating this would be a good idea. Joe _______________________________________________ Xesam mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xesam
