this post was submitted on 11 Dec 2023
569 points (98.5% liked)

Linux

47344 readers
1296 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

(page 2) 50 comments
sorted by: hot top controversial new old
[–] jaybone 3 points 9 months ago (1 children)

And /net is usually autofs mounted.

[–] callcc 1 points 9 months ago* (last edited 9 months ago) (1 children)

That's NFS shares? I might add that later although it's not very common or standard I guess. Thx

[–] jaybone 3 points 9 months ago

Yeah, nfs exports that can be mounted by HOSTNAME or ip address automatically with autofs. Sorry if that’s not standard, like my other comment about /mnt. I’ve never actually looked at the spec. I was just giving feedback based on what I’ve seen in the industry. So might not be spec compliant but a lot of it is common practice I’ve seen (for better or worse.)

[–] jaybone 2 points 9 months ago (2 children)

What do you mean by locally vs site wide? For /usr/local that’s usually stuff installed from outside of the distributions normal packaging mechanism. E.g. if you build something from source using “make”, the “make install” would install it there by default (though that is also configurable.)

Also not sure we want to say /mnt is necessarily temporary. Any mount pionts there could easily be added to fstab.

[–] callcc 2 points 9 months ago

The FHS says the thing about /mnt. It's not normally meant to have subdirectories or be mounted to by default.

[–] [email protected] 2 points 9 months ago

The origin is that /usr may be network mounted or otherwise shared across multiple systems, whereas /usr/local is local to a particular PC. That definition is not as relevant with today's single-user machines, and now it mostly means what you said (/usr is managed by system package manager whereas /usr/local is manually managed).

[–] prYsm 2 points 9 months ago* (last edited 9 months ago) (2 children)

What would a use case be for

>/usr/bin

versus

/usr/local/bin

load more comments (2 replies)
load more comments
view more: ‹ prev next ›