Why /usr and /usr/local? Once upon a time, Unix ran on ancient computers that ha...

@mos_8502@studio8502.ca

Why /usr and /usr/local?

Once upon a time, Unix ran on ancient computers that had small hard drives, and only supported so big a drive. So they put one drive on /, where the system was installed, and one on /usr for the user's stuff.

So why /usr/local? Well, after a while, Unix gained support for having /usr be a drive mounted over the network; /usr/local was implemented to be a drive that's intended to be local to the machine. Your PATH would override whatever was in /usr (the network drive) with whatever was in /usr/local.

Yeah. It's all ad-hoc changes accreted over time. Don't let anyone fool you, Unix didn't get designed, it evolved organically.