this post was submitted on 11 Dec 2023
560 points (98.4% liked)

Linux

48323 readers
632 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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 updated the poster: https://whimsical.com/fhs-L6iL5t8kBtCFzAQywZyP4X use the link to see online.

Dark mode

Old version

you are viewing a single comment's thread
view the rest of the comments
[–] cerulean_blue@lemmy.ml 12 points 11 months ago (4 children)

Super useful, thanks. Actually made a lot of things click in my head about how Linux works.

When did /home get deprecated? Is /usr/local the replacement?

Sorry for the n00b question (I'm not a noob, but I have been off Linux for a few years), figured the answer may be useful to other users too

[–] vole@lemmy.world 14 points 11 months ago (3 children)

/home is not deprecated, it's optional but common. Here is the section from FHS: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s08.html

[–] dino@discuss.tchncs.de 5 points 11 months ago* (last edited 11 months ago) (2 children)

then the legend should be fixed its confusing, as is the whole idea of FHS is outdated and a chore for new users to get into (i still don't fully understand it)

  • difference between /media and /mnt
  • wtf is /run? some glorified /temp?
  • /usr/sbin "non vital system binaries" ... aha ok, whatever don't tell me you understand the difference between 6 (SIX !) differen bin/sbin folders
  • could continue forever...
[–] callcc@lemmy.world 4 points 11 months ago

The legend is a bit broken. Will fix it maybe.

As for the rest, yes, the FHS can be confusing. It's from a time where mostly professional admins would deal with it and requirements were pretty different from today's end-user systems. If you want to understand more, I urge you to read the spec. It's highly readable! https://refspecs.linuxfoundation.org/FHS_3.0/fhs.html

[–] AMDIsOurLord@lemmy.ml 1 points 11 months ago

/mnt is for more permanent stuff. /run is for shit like a USB drive some user has connected. It's the place that most distro automount your attached storage by default (/run/$USER/$DEVICE/)