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 wonder why nixos adopted a different hierarchy…
Submitted 11 months ago by callcc@lemmy.world to selfhosted@lemmy.world
https://lemmy.world/pictrs/image/d0792dfc-38e0-426a-bc37-937597c941d8.png
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 wonder why nixos adopted a different hierarchy…
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.
But it’s the only standard we have so, why not keep it for now.
Because making new standards is fun.
thank you
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 am new to Linux, is this the current “standard” file system?
Bonus tip: Many distros make this info available on the cli by including a “hier” man page that you can read using the command “man hier”.
Yes, it is. FHS stands for Filesystem Hierarchy Standard.
What an amazing cheat sheet then!
I’m about to print this out to add to my pile, thanks for taking the time.
I’ve never seen /etc/opt
used. Usually if an app is in /opt
, the entire app is there, including its config which is frequently at /opt/appname/etc/
.
I have 2 questions:
Do I understand the colors correctly in that /home is deprecated and shouldn’t be used? What’s the alternative in that case?
Where would you guys put configuration files for services? /srv seems like an adequate directory
The colors are confusing. I meant to mark /home as non-standard since it’s not mandated by the FHS.
I’m trying to remember this correctly, but traditionally /home is a symlink of /usr/home.
New to Linux, this is fantastic. Thank you.
Where to mount permanent HDDs? Always thought it was in /mnt but the description says it’s for temporarily filesystems…
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.
man hier
New Lemmy Post: Filesystem Hierarchy Standard - Reference Poster / Cheatsheet (https://lemmy.world/post/9437468)
Tagging: #SelfHosted
(Replying in the OP of this thread (NOT THIS BOT!) will appear as a comment in the lemmy discussion.)
I am a FOSS bot. Check my README: https://github.com/db0/lemmy-tagginator/blob/main/README.md
grehund@lemmy.world 11 months ago
Dark mode?
callcc@lemmy.world 11 months ago
Added!
jkozaka@lemm.ee 11 months ago
Is that the only thing that changes between versions?