[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent
 thread


Re: klink
by Aaron J. Seigo on Friday 04/Mar/2005, @10:07
ah.. when the _target_ of the note's URI changes.. yes, this is something we need to watch for. there area few ways of doing it that i can think of, but i'm not sure at this point which is the best. certainly an area for research =)

the big factor will be whether we care if it breaks when using the command line (we probably do) and if so how efficiently we can hook into change notifications from the kernel. this _is_ one of the things that's easier to do when you embed it into the filesystem itself, a luxury we don't have.

but as long as we can get these notifications working decently, there is only one point in the mesh for any given URI where than URI is actually referenced. so making these changes, once they are known, is trivial to do with exactly zero loss of information within the mesh itself.
  Related Links
 ·   Articles on Community and Events
 ·   Also by Aaron J. Seigo
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

Re: klink
by SadEagle on Friday 04/Mar/2005, @12:57
AFAIK, the only notification DNotify produces is "directory changed" --- and do all systems even have change notification? So you probably can't count on kernel help.
[ Reply To This | View ]
Re: klink
by MM on Friday 04/Mar/2005, @13:10
> this _is_ one of the things that's easier to do when you embed it into the filesystem itself, a luxury we don't have.

I was about to suggest a Reiser4 plugin, but I'm not sure if plugins are allowed to do anything more than providing attributes (or "files within a file").

If plugins are limited in this way, it though should be possible to save a "history" of the file (recent names and paths, date and time of the rename/move action). But this information would be useless for klink, as attributes can only be read if the correct path and name are known, so klink would have to search the whole harddisk and scan the "history" attributes of all files...

And not everybody uses Reiser...
[ Reply To This | View ]
  • Re: klink
    by MM on Friday 04/Mar/2005, @13:19
    Oh, and even if Reiser4 plugins are not limited, I wonder how a notification system of a file system could look like... I feel a bit uncomfortable having a file system that depends on dcop (no offense, dcop is great, but on file system level?)
    [ Reply To This | View ]

 
The Fine Print: The previous comments are owned by whomever posted them.
( Reply )

  "I tried to play with some toy applications and enjoyed it." -- Werner Trobin
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]