On Mon, 31 Jul 2006 17:55:30 +0530, Benedikt Meurer  
<[EMAIL PROTECTED]> wrote:

> Storing the tags in extended attributes would solve this issue with
> modern file systems (note that not all file systems offer fast extattr
> access), but it does not allow to query the files by tag.

Hmmm ... you know, you *could* implement tag-query as a bunch of sym-links:

$HOME/.tags/
        tag1/
                symlink to tagged-file
                symlink to tagged-file2
        tag2/
                symlink ...

You'd use the symlink just to find out the target file path and then open  
the file using it's real path so that recently used files lists would  
still be correct.

However, the proper solution would be to design a data structure that was  
specific to this requirement, rather than a general purpose data store  
like an rdbms.

-- b


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________
Thunar-dev mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/thunar-dev

Reply via email to