"The most important role for UNIX is to provide a file system." I looked up TGM which is mentioned in this manual (TGML). Apparently this was what Thompson used to write the B compiler. Anyway, I ended up on the Multicians site. Some online accounts of computing history suggest UNIX was an alternative to the Multics project. On the Multicians site it suggests Multics had a very different concept of "files", which cou…
Segments are a hardware mechanism often used then for accessing or protecting things in memory due to simplicity & speed of mechanism. Several modern techniques in INFOSEC use segments to protect programs.
Here's how the MULTICs filesystem worked, though. Gist of it seems like MULTICS came up with all the key concepts I recognize for hierarchical, filesystems.
http://www.multicians.org/fjcc4.html
Hansen's history shows the Titan System also had a similar filesystem:
http://brinch-hansen.net/papers/2001b.pdf
Both predate UNIX with Thompson and Ritchie actually using MULTIC before writing UNIX. So, it's probably main influence.
"Today we often see the phrase "Everything is a file" being cited when introducing people to UNIX. But I have never seen anyone attempt to explain why. What was the context in the 1970's?"
It's explained here:
https://superuser.com/questions/364152/why-is-everything-is-...
More detail from authors (see 3.3):
http://www.scs.stanford.edu/nyu/04fa/sched/readings/unix.pdf
"Again, this early manual says: "The most important role for UNIX is to provide a file system.""
Ritchie was clear in other writings that there wasn't a single goal for UNIX at all other than to be usable and more than what they were working with. It was designed to be efficient and enable programmers rather than hold them back. The rest fell into place from there.