Filesystem Hierarchy Standard - Reference Poster / Cheatsheet [Added dark mode]
Hey, I've recently designed a Poster about the FHS since I often forget where I should place or find things. Do you have any feedback how to make it better?
I think because they want to have files from different packages separate and easily addable and removable using symlinks.
Also some things in the FHS make no sense for modern computers where storage is cheap and system storage is rarely shared amongst systems. The same applies for single-users/desktop machines. But it's the only standard we have so, why not keep it for now.
I never understood why the shareable /usr is parent to the non shareable /usr/local.
Wouldn't a /usr/shared be way easier especially in the early network days?
If anyone has a link or some insights into this historical nitbit I'd highly appreciate it!
No comment on sensibility, but technically both are equally difficult - mount the parent filesystem, then mount the child filesystem into an empty directory in the parent. Doesn't matter which one is where, it's all abstracted away at this level anyway.
But when I mount a shared /usr on a remote machine it will always have the mount point /usr/local as empty folder - and either have an empty folder or have a mount target that is dependent on a network resource - that's why for me it's so unintuitive.
But then again I started with network stuff way more than a decade after all this got created 🤣
I think the FHS doesn't really tell you where. In the end you can out them wherever you want as long there is no conflict with the FHS. Even /mnt/something seems fine. Just not really recommended.