News for hackers. Stuff that matters.
Re:Hierarchical File Systems are Dead by pyre on Sunday November 14, 2010 @01:12AM (#1902677)
Whenever I hear these proclamations, I always wonder what a 'source tree' would look like in a non-hierarchical file system.
Re:Hierarchical File Systems are Dead by fauigerzigerk on Sunday November 14, 2010 @03:05AM (#1902826)
A non hierarchical file system is not a file system in which hierarchies cannot be represented. A source tree could be represented by using relative paths within the project as tags.

Obviously, there are some issues that would have to be resolved. For instance, you would have a have some kind of uniqueness notion for tags in order to simulate current hierarchical file systems, or two paths in the traditional sense might be the same. Since not all tags would have such uniqueness constraints, there would also have to be some kind of tag type (or property type), and at that point we're getting awfully close to what databases do.

Re:Hierarchical File Systems are Dead by bensummers on Sunday November 14, 2010 @05:49AM (#1903018)
There's no reason you can't have both on a system. Traditional hierarchical for the uses where it makes sense (eg systems software, application code and resources) and this alternative for user data.
Re:Hierarchical File Systems are Dead by tonyarkles on Sunday November 14, 2010 @01:24AM (#1902702)
Your source wouldn't need to be stored in a tree, necessarily. Files in your source code could be tagged with the module name they belong to.
Re:Hierarchical File Systems are Dead by pyre on Sunday November 14, 2010 @01:45AM (#1902724)
True, but what about when you have multiple copies of the same source tree? (though I guess this could be less of an issue of everything was using a dvcs)
Re:Hierarchical File Systems are Dead by groby_b on Tuesday November 16, 2010 @08:49PM (#1912579)
Git e.g. solves that by addressing via content hash. Which is more or less inevitable for non-hierarchical storage, since that's one of the few ways you can disambiguate.
Re:Hierarchical File Systems are Dead by techbio on Sunday November 14, 2010 @01:56AM (#1902746)
The thing is, wood trees don't share (or trade) leaves, but abstract trees can.
Re:Hierarchical File Systems are Dead by drdaeman on Monday November 15, 2010 @11:34AM (#1906842)
No, they can't share leaves. Trees are acyclic by definition - no leaf may have more than one parent.

Present-day hierarchical file systems are digraphs, not trees.

Re:Hierarchical File Systems are Dead by techbio on Monday November 15, 2010 @12:25PM (#1907053)
Yes, digraphs are much more flexible. Present-day wood trees -really, really cannot- share leaves.