Hacker News new | ask | show | jobs
by mark_undoio 1578 days ago
It's interesting that, having avoided a filesystem with a version number, you eventually ended up on Reiser 4! Shows how much some branding decisions can affect with you acquire a user or not, since you then stuck with the "brand" (though I presume quite a lot of time had passed and circumstances may have been different).

I formed the impression that Hans Reiser's somewhat bombastic approach did not interface well with kernel development anyhow when Reiser 4 came out. I remember reading some rather strange discussion threads at the time, including a - perhaps tongue-in-cheek - suggestion that Linux use Reiser 4 as its VFS and implement all other filesystems as plugins to it.

At one point, employees of his company were continuing to develop Reiser 4 (which they'd been working on for some time) and try to get it merged, even after the original author was no longer able to work on it. I presume those efforts were eventually dropped, which is very understandable but sad for the other developers.

1 comments

There were grandiose plans indeed! Including things like plugins, yes, and ideas like exposing metadata about files (like MP3 artist tags and such) in virtual files. You'd `cat song.mp3/artist` or some such, treating the file as a virtual directory.

There also was weird artwork to go with all of that:

http://web.archive.org/web/20070219175315/http://www.namesys...

> There also was weird artwork to go with all of that

Wow! You weren't kidding. Those really are something else.

I really liked the files-as-directories behaviour. One of the objections I recall from the time was that this sort of behaviour would make more sense at VFS level.

I'd love to have this sort of functionality available (ISTR it has potentially other useful properties - e.g. new properties / metadata attached to files can automagically be handled by things like tar).

My memory says that concerns around overlapping file and directory behaviour caused pushback here. I think being able to hardlink to a directory was the issue (if every file can be a directory then how do you avoid directory cycles) but I may be mangling the details.

Somewhat related, Minio now supports serving files from within ZIP archives. So that same song.mp3 could be accessed by opening the URL http://minio/files.zip/song.mp3. By treating the ZIP file as a virtual directory, you can access individual files within it without downloading the entire archive.
FWIW, this was eventually implemented in Solaris - that's how named data streams work.