zlacker

[parent] [thread] 10 comments
1. jmclnx+(OP)[view] [source] 2026-01-04 16:27:01
Not really, back then disks were very expensive and you had no choice but to split. And disk sizes were very small.

But, I in a way int kind of makes sense.

/bin and /sbin, needed for system boot. /usr/bin and /usr/sbin for normal runtime.

's' for items regular users do not need to run, remember, UN*X is a multi-user system, not a one person system like macs, windows and in most cases Linux.

replies(3): >>kokada+V >>eviks+22 >>JdeBP+1p5
2. kokada+V[view] [source] 2026-01-04 16:33:15
>>jmclnx+(OP)
> /bin and /sbin, needed for system boot. /usr/bin and /usr/sbin for normal runtime.

Nowadays most Linux systems boot with initramfs, that is a compressed image that includes everything the system needs to boot, so you're basically saying /bin and /sbin is useless.

replies(1): >>schmuc+pa
3. eviks+22[view] [source] 2026-01-04 16:39:23
>>jmclnx+(OP)
How does splitting help save space?
replies(1): >>yjftsj+U3
◧◩
4. yjftsj+U3[view] [source] [discussion] 2026-01-04 16:51:23
>>eviks+22
I think it's less about saving space and more that / and /usr can be two separate disks
◧◩
5. schmuc+pa[view] [source] [discussion] 2026-01-04 17:29:06
>>kokada+V
> initramfs, that is a compressed image that includes everything the system needs to boot

Not always (raise your hand if you've had an unbootable system due to a broken or insufficient initrd).

In retrospect, the whole concept of the initrd seems like an enormous kludge that was thrown together temporarily and became the permanent solution.

replies(3): >>Dylan1+Cc >>throwa+Od >>kees99+Th
◧◩◪
6. Dylan1+Cc[view] [source] [discussion] 2026-01-04 17:43:12
>>schmuc+pa
Yes of course it can break. The point is that the stuff needs to be in initramfs. "includes everything" has an implicit "when working".

What seems bad about it to you? Initrd means you only need /boot (or equivalent) to be working at boot time, which seems nice to me. And looking at mine, the image is smaller than the kernel, so it's not wasting a ton of space.

replies(1): >>schmuc+2i
◧◩◪
7. throwa+Od[view] [source] [discussion] 2026-01-04 17:50:29
>>schmuc+pa
I rather like it for embedded systems because I can pop a simple installer into it and bundle that with the kernel.
◧◩◪
8. kees99+Th[view] [source] [discussion] 2026-01-04 18:13:48
>>schmuc+pa
> initrd seems like an enormous kludge that was thrown together temporarily and became the permanent solution.

Eh, kinda. That's where "essential" .ko modules are packed into - those that system would fail to boot without.

Alternative is to compile them into kernel as built-ins, but from distro maintainers' perspective, that means including way too many modules, most of which will remain unused.

If you're compiling your own kernel, that's a different story, often you can do without initrd just fine.

◧◩◪◨
9. schmuc+2i[view] [source] [discussion] 2026-01-04 18:14:41
>>Dylan1+Cc
More than once I've run into weird issues with missing filesystem drivers and other important things that caused me major grief during an emergency.

Sure it could be blamed on shitty distro maintenance and development but a better architecture would be putting essential things like filesystem drivers in /boot without this extra kludge of rebuilding an initrd (that you hopefully didn't forget to do before typing reboot) which depends on a pile of config files set just right (and oh by the way different in literally every distro).

replies(1): >>Dylan1+im
◧◩◪◨⬒
10. Dylan1+im[view] [source] [discussion] 2026-01-04 18:39:49
>>schmuc+2i
A folder in boot could still be missing drivers, though.

Rebuilding an image isn't a big factor there, it's a tradeoff between making setup a bit more annoying versus making it a bit easier to manage your boot files.

11. JdeBP+1p5[view] [source] 2026-01-06 09:14:47
>>jmclnx+(OP)
I really should write that "Yes, Virginia; executables once went in /etc." Frequently Given Answer.

Because it was /etc (and of course the root directory) where the files for system boot and system administration went in some of the Unices of yesteryear. In AT&T Unix System 5 Release 3, for example, /etc was the location of /etc/init, /etc/telinit, and /etc/login .

sbin is actually quite complex, historically, because there were a whole lot of other directories as well.

* https://jdebp.uk/FGA/unix-path-and-personalities.html

[go to top]