Skip to contentSkip to conversation

labels like those in gmail

DISCUSSION Bedros Hanounik 4 participants 4 messages Sep 9, 2004 – Sep 10, 2004

lore
Share & tools
lore
#0 lore raw

I use reiserfs but not familiar with the technical details. I'm wondering if it's possible to use meta tags in reiser4 fs to add labels to files.

for example, I could have labels: photo, work, personal, vacation....

then a jpg file from work would have the labels photo and work.

it allows searching my files easier. no need to create different directories for different subjects. All files are in the same directory and I could browse them using labels.

another advantage is that many files may fall in two categories and rather than have multiple copies one in each category, I just apply multiple labels for a single copy of the file.

if the answer is yes, does it require a core change to reiserfs or can be a plugin.

another question, is the meta tag structure is xml? should it be? XML documents waste a lot of space and require more cpu cycles to process, but they are extensible and I hope reiser4 tags are also extensible

Thanks,

-Bedros

btw, awesome work hans and all reiserfs developers.

#1 lore raw

I think that simple file and directory syntax provides what you need.

Just keep in mind that in reiser4, storing labels in files is effective to do.

Hans

Quoted 33 lines · Bedros Hanounik

I use reiserfs but not familiar with the technical details. I'm wondering if it's possible to use meta tags in reiser4 fs to add labels to files.

for example, I could have labels: photo, work, personal, vacation....

then a jpg file from work would have the labels photo and work.

it allows searching my files easier. no need to create different directories for different subjects. All files are in the same directory and I could browse them using labels.

another advantage is that many files may fall in two categories and rather than have multiple copies one in each category, I just apply multiple labels for a single copy of the file.

if the answer is yes, does it require a core change to reiserfs or can be a plugin.

another question, is the meta tag structure is xml? should it be? XML documents waste a lot of space and require more cpu cycles to process, but they are extensible and I hope reiser4 tags are also extensible

Thanks,

-Bedros

btw, awesome work hans and all reiserfs developers.

#2 lore raw
Quoted 1 line · Hans Reiser

I think that simple file and directory syntax provides what you need.

But there is no existing framework, no?

Signature · 1 line
mjt
#3 lore raw
In reply to Bedros Hanounik
Quoted 12 lines · Bedros Hanounik

I use reiserfs but not familiar with the technical details. I'm wondering if it's possible to use meta tags in reiser4 fs to add labels to files.

for example, I could have labels: photo, work, personal, vacation....

then a jpg file from work would have the labels photo and work.

it allows searching my files easier. no need to create different directories for different subjects. All files are in the same directory and I could browse them using labels.

Quoted 6 lines

another advantage is that many files may fall in two categories and rather than have multiple copies one in each category, I just apply multiple labels for a single copy of the file.

if the answer is yes, does it require a core change to reiserfs or can be a plugin.

This is exactly the problem that Han's Future Vision whitepaper
http://www.namesys.com/whitepaper.html
is about and what you need is what Hans called "set vicinity intersection" or grouping.

You should be able to store your photo associated to (photo, work, personal, vacation)
and then you will be able to browse them by typing [photo work personal]
together with all other personal work photos.

(Actually, if we go my way, using feature sets for inheritance then you should probably associate
([photo], work, personal, vacation)
but that is a detail.)

I don't know whethet its implementation will involve anything like what you mean by "meta tag labels".

Quoted 3 lines

another question, is the meta tag structure is xml? should it be? XML documents waste a lot of space and require more cpu cycles to process, but they are extensible and I hope reiser4 tags are also extensible

We can probably map an XML structure into Reiser6 syntax using an XML plugin. Peter