Linux Directory Structure - FHS

SagXD@lemm.ee to Linux@lemmy.ml – 1226 points –
lemm.ee
197

You are viewing a single comment

I always thought /usr was for "user".... TIL

It is, this infographic is wrong. Or I guess technically some other standard could define it like the infographic, but the Filesystem Hierarchy Standard defines it as a secondary hierarchy specifically for user data.

/usr used to be the user home directory on Unix...well most of them. I think Solaris/SunOS has always been /export/home as I recall.

It did, let me explain:

On the original (ie Thompson and Ritchie at Bell in 1969-71), I think it was a PDP-11, they installed to a 512kb hard disk.

As their "stuff" grew they needed to sprawl the OS to another drive, so they mounted it under /usr and threw OS components that didn't fit.

https://landley.net/writing/unixpaths.pdf

I've done the same, outgrew so you mount under a tree to keep going, it just never became a historical artifact.

Huh. I did as well. Like /use/bin was for user installed applications and such. You learn something everyday.