Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 17459 ideas, 107690 comments, 2263278 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #9560: Tag Filesystem

Written by ronan the 6 Jun 08 at 07:40. Category: Office. Related project: Nothing/Others. Status: New
Rationale
Imagine you want to save a funny video in a folder "videos" containing many other videos (some not funny) as well as in a folder "funny" containing many funny documents including texts and images that you also want them to be in folders "texts" and "images" respectively.

If you use a hierarchical filesystem, you have to duplicate your file when you want to put them in the folders or making symbolic links which make it difficult if you want to delete it.

A tag filesystem on the other hand solve completely the problem. And because it can be implemented as kernel filesystem, every application can then use it instead of being an extra application.

Because of its interest in everyday use of the computer I put this project in the category office

Please check here:
http://www.tagsistant.net/

some articles:
http://nascent.freeshell.org/programming/TagFS/
http://citeseer.ist.psu.edu/741340.html

also some interesting work:
http://code.google.com/p/tagfs/


similar ideas have already been posted:
http://brainstorm.ubuntu.com/idea/1981/
http://brainstorm.ubuntu.com/idea/1982/
http://brainstorm.ubuntu.com/idea/3798/
Tags: tags

67
votes
closed
Solution #1: Auto-generated solution of idea #9560
Written by ronan the 6 Jun 08 at 07:40.
Ubuntu Brainstorm was updated in January 2009. Since the idea #9560 was submitted before this update, its rationale and solution are not separated. Please vote accordingly, and if you have the necessary rights, please separate the rationale from the solution. Thanks!

Propose your solution

Attachments


Duplicates


Comments
Cypher wrote on the 6 Jun 08 at 09:15
KDE4.1 has this as logical layer on top of the hierarchical filesystem (look for Nepomuk). It is thus transparent to any other KDE4 application.

nevermind85 wrote on the 6 Jun 08 at 18:01
what about hardlinks?

ronan wrote on the 6 Jun 08 at 22:05
Cypher,
Nepomuk seems to be a good project
but what about all other applications including the so terminal that do not include nepomuk

Also it probably makes things slow.

nevermind85
hard links have do be manually set (for each tag/folder you want to put it) and if you want to remove a file for all tags/folder, you will have to go to all tag/folder to delete it.


jhoger wrote on the 7 Jun 08 at 05:15
Given a tag-based file system, I think it is important to have lots of tags to automatically place on each file. This provides context to find old files even if you cannot remember the tag you used.

One good tag to place on files is the current task. But this would require knowing what project the user is working on. With a task-oriented UI, you would have that information.

Fiery_Ice wrote on the 10 Jun 08 at 15:11
I will complement your list a few names:

Stratus - [url=http://wealthandpower.org/stratus/[/url] ">http://wealthandpower.org/stratus/]http://wealthandpower.org/stratus/[/url]

FITaFS - [url=http://fi-mihej-en.blogspot.com/[/url]">http://fi-mihej-en.blogspot.com/]h ttp://fi-mihej-en.blogspot.com/[/url] (now). My development. There is while little information because I will lay out complete description hardly later - after a publication in a paper magazine (in a flow month-two). Approximately in also plan to lay out time the first working version of the module for FUSE. Why did I decide to create another tag-based filesystem? One of reasons are serious problems, showing up at other tag-based filesystems, at presence of plenty of tags: 1) to the man becomes uncomfortably in them to be oriented; 2) at the programs, trying to go round all tree folders failures appear.

P. S.: I am sorry for my English.

Fiery_Ice wrote on the 10 Jun 08 at 15:15
Stratus - http://wealthandpower.org/stratus/

FITaFS - http://fi-mihej-en.blogspot.com/

sorry

notyetroot wrote on the 25 Aug 08 at 16:52
Would this be in the VFS or the actual FS?

tx0 wrote on the 9 Sep 08 at 08:41
Hello, I'm the author of Tagsistant tag file system and Ubuntu user since last two years. I'm very interested in helping integrate a tag file system inside Ubuntu and I'm available to help the integration process.

Tagsistant is developed with ease of use for the average user as one of its primary goals. Some design choices that may sound unnatural at first glance are a direct consequence of the research of a intuitive interface both at shell prompt and inside a file manager.

I hope Ubuntu can get interested in it and someday will plan the integration.

Best wishes.

Endolith wrote on the 15 Oct 08 at 04:53
This is a very great idea and would make Ubuntu actually better than other OSes instead of just playing catch-up. I am sure it won't get implemented until after Apple does it, though. :) "Hey, OS X uses tags instead of folders now! Can we do that?"

I've never liked the idea of categorizing files based on their file type, like with Microsoft's "My Pictures" or "My Music" folders. They should be categorized based on their content.

If you go on a fishing trip with your family, do you really want the photos to be in a Photos folder, the videos to be in a Videos folder, and maps and emails in completely different folders? Of course not. You want everything related in the "2008 Family Fishing Trip" folder.

With a tag-based system, they would automatically be tagged with metadata like the date they were taken: "date:2008-10-12", and you could also add descriptive tags like "family", "fishing trip", and "vacation". The images would automatically be tagged with something like "mime:image/jpeg", and the act of downloading them from your camera would automatically tag them with "Photos", to differentiate from other types of graphics that can be stored in jpegs. A map of the directions to the fishing hole, for instance, would have a "Maps" tag instead of "Photos", but would otherwise have all the other tags, so it would show alongside the photos if you searched for "2008 family fishing trip". The photos would be tagged with the name/ID of the person who took them, and then you could select a bunch of images and tag them with the names of the people that are in them.

Then you could navigate and find things by topic, by date, by file type, or any combination! You could type a friend's name and the word "photo" and instantly see every picture you own of them at once, or you could type the name of an event and view all the photos and other related files for a single event at once. Or you could type a name and an event and see all the pictures of them at that particular event, as well as emails to them about the event, etc.

Endolith wrote on the 15 Oct 08 at 05:18
Possible way to implement? http://brainstorm.ubuntu.com/idea/8163


Endolith wrote on the 20 Oct 08 at 14:34
@nevermind85
"what about hardlinks?"

Hmmm... Are links supported by all filesystems? Maybe tags could be implemented as hard or soft links. The tags exist as folders (maybe hidden folders?) in the Home directory, and files would be linked into each folder if they were tagged. Then file browsers would interpret this with a more advanced interface.

The best solution would be independent of desktop and independent of file system.

Endolith wrote on the 20 Oct 08 at 15:29
I guess neither symbolic links (relative paths, hard disk usage) or hard links (file system-dependent) would be sufficient for this. We don't want to use up tons of hard drive space with the tagging data for hundreds of thousands of files.

Surely this has been proposed before, though. What are the proposed implementations?

I imagine a system in which different "kinds" of properties of the file are encoded in the tag, and the human-readable GUI implementation of the tag might show different classes of tags ("names" given by the user vs file types generated by the system, for instance) in different colors, maybe. So if you searched for "jpeg" and "Family", the jpeg would be recognized as a file type and shown with some kind of filetype prefix and color, and the "Family" would be recognized as a user-generated label and given a different color?

This looks relevant:
http://www.foo.be/cgi-bin/wiki.pl/MachineTag
http://www.flickr.com/groups/api/discuss/72157594497877875/



Endolith wrote on the 22 Oct 08 at 21:16
Also note that although files would be differentiated by tags, this would not function the same way as paths. Would it be like going backwards to a flat file where every file needs to have a unique name to avoid clashes?

yegor wrote on the 29 Oct 08 at 20:19
Here is another kid on the block: http://transparentag.sourceforge.net

matthewbauer wrote on the 4 Aug 09 at 20:18
The a tag-based filesystem could maintain a layer of compatibility with hierarchical filesystem.

For example:

cd /usr/share/hello-world

would work... but so would:

cd /hello-world/share/usr

or simply

cd /hello-world

(assuming there is only one hello-world in the filesystem)

matthewbauer wrote on the 16 Oct 09 at 18:23
Related:
Also I think that Metadata should be reformed. All metadata is currently done through different ways, usually information is just stored about the name of the file, the time the file was created, and the permissions.

MP3s use ID3 tags to store track information. This leads to problems with formating. But what if ID3 tags were done through the filesystem level? What if there was a tag for each author just like there would be for the time, or the name, this would end a lot of compatibility issues.

wbsun wrote on the 8 Jan 10 at 05:54
I wrote one. Have fun with it.

http://code.google.com/p/tagfilesystem/


Post your comment