LWN.net Logo

Seigo: Plasma.next()?

Seigo: Plasma.next()?

Posted Jan 30, 2013 12:06 UTC (Wed) by andresfreund (subscriber, #69562)
In reply to: Seigo: Plasma.next()? by jospoortvliet
Parent article: Seigo: Plasma.next()?

While tags are a nice, they don't really map nicely to everything. Exactly because there is no such constraint. Consider e.g. the storage location. On most tag based systems its incredibly ugly to copy data on internal storage to an SD card or the reverse.
To the point where google uses that as justification for not putting in SD card slots in their nexus phones...


(Log in to post comments)

Seigo: Plasma.next()?

Posted Feb 2, 2013 10:08 UTC (Sat) by jospoortvliet (subscriber, #33164) [Link]

As folders, no matter how you slice and dice it, are nothing else than a tag on a file, it's kind'a weird to claim that there is anything tags can't do but folders can.

There is no reason not to have (automatically assigned) tags which denote on which file system a file is, or which even represent a hierarchical relationship ("folders"). The fact that this is not done or not done properly doens't mean it can't be done.

Similar situation: Microsoft, Google and GNOME are trying to develop one UI which works on multpiple devices but are failing. Does that mean it is impossible and there is no way to share code/UI concepts between touch- desktop- mobile- and 10-feet devices? No, just look at KDE Plasma - which is doing exactly that (but a lot smarter, yes).

Seigo: Plasma.next()?

Posted Feb 2, 2013 13:00 UTC (Sat) by andresfreund (subscriber, #69562) [Link]

> As folders, no matter how you slice and dice it, are nothing else than a tag on a file, it's kind'a weird to claim that there is anything tags can't do but folders can.
> There is no reason not to have (automatically assigned) tags which denote on which file system a file is, or which even represent a hierarchical relationship ("folders"). The fact that this is not done or not done properly doens't mean it can't be done.

To quote yourself somewhere nearby:
> Now that is a lame reply. "Yeah, there IS a way to do it, it just can't actually do it".

Sorry, that was just too easy bait to let go.

And no, folders are different from a tags because files are only stored in one location (and no, don't argue with hardlinks, that doesn't change anything). You could possibly do it by inventing some sort of tag category and only allowing one tag of that category (e.g. location:device/path) but designing a good ui ontop of that isn't all that easy.

I have yet to see any tag based system that deals with different storage devices graciously without resorting to a folder based system for that part.

Seigo: Plasma.next()?

Posted Feb 11, 2013 10:02 UTC (Mon) by jospoortvliet (subscriber, #33164) [Link]

Sorry, that was just too easy bait to let go.

Yeah, but it's not the same thing. This can do it ;-) And yes, folders are the same thing, they're just a property on the file system. Which stores stuff in inodes organized in RB trees or stuff like that - the physical location has no relation to the directory hierarchy. True that a file can have multiple tags but as I said, the fact that you haven't seen any system working with it doesn't mean it isn't possible. I haven't had a good look at how the PA guys do it but I do look forward to seeing it ;-)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds