Live data from Hacker News

Linux Filesystem Hierarchy (2004)

tldp.org

21–30 of 65 posts

Re: Linux Filesystem Hierarchy (2004)

#21
post #13

Earlier quoted context omitted.

> "The home folder - /boot/home/" What relationship is there between home folders and the boot process?

These are folders on the boot drive, which is always mounted on /boot?

This seems like a bad choice. The home directory need not be on the boot drive. In fact, a lot of people put it on a separate drive, or at least a separate partition.

Re: Linux Filesystem Hierarchy (2004)

#22
post #14

Earlier quoted context omitted.

With a proper redesign from scratch, it could have the same success and market share Haiku has.

Right, without back-compat, any system trying to gain marketshare is domed. ...but Linux has chroot, symlinks, hardlinks, and everything in-between - it's entirely possible to design a Linux environment where the clutter and warts of back-compat are only visible to the users and programs that need to see them.

I’d point in the direction of Nixpkgs’s buildFHSEnv, but unfortunately Nixpkgs has its own layers and layers of cruft (being more than fifteen years old by now).

Re: Linux Filesystem Hierarchy (2004)

#23
post #8

complementary openbsd resource: https://man.openbsd.org/hier some differences: * openbsd does not use a /boot/ partition. instead it uses the bsd.* files in root. * no /proc/ in its entirety in openbsd. use sysctl(3) instead. * current openbsd does not have a separate /var/tmp/; it is a symbolic link to /tmp/.

> openbsd does not use a /boot/ partition. instead it uses the bsd.* files in root.

So there’s no equivalent to EFISTUB (the kernel as a UEFI executable, most easily accomplished by mounting the ESP at /boot)?

Re: Linux Filesystem Hierarchy (2004)

#24
post #12
post #9

Earlier quoted context omitted.

The story went something like, the guys building UNIX got a second hard drive, so they moved the home directories (/usr) to it. As the system grew, they started dropping more binaries into /usr/bin (while trying to keep /bin for things needed to boot/rescue the system, in case the disk with /usr failed). The rest is history.

And to this day there is a mysterious 'bin' user on Linux systems that no one seems to use or know the purpose of. I wonder if another UNIX at some point added such a user in order to reserve '/usr/bin'...

At least one old UNIX book of French origin described the “bin” user as the owner of the common binary files on the system.

Re: Linux Filesystem Hierarchy (2004)

#27
post #12
post #9

Earlier quoted context omitted.

The story went something like, the guys building UNIX got a second hard drive, so they moved the home directories (/usr) to it. As the system grew, they started dropping more binaries into /usr/bin (while trying to keep /bin for things needed to boot/rescue the system, in case the disk with /usr failed). The rest is history.

And to this day there is a mysterious 'bin' user on Linux systems that no one seems to use or know the purpose of. I wonder if another UNIX at some point added such a user in order to reserve '/usr/bin'...

used to be that a drum drive covered /bin and a platter drive provided /usr/bin.

Makes upgrades easier when leaving SysV init alone (in /bin).

Re: Linux Filesystem Hierarchy (2004)

#29
post #19
post #15

Earlier quoted context omitted.

The /proc equivalent in OpenBSD is ptrace(2).

Could you elaborate? To me there seems extremely little overlap there (I'm familiar with both the procfs and linux's ptrace APIs, but not OpenBSD's ptrace).

Ptrace could an equivalent of what /proc was originally supposed to be, before it got repurposed for a bunch of sysctl-like purposes.

Re: Linux Filesystem Hierarchy (2004)

#30
post #13

Earlier quoted context omitted.

> "The home folder - /boot/home/" What relationship is there between home folders and the boot process?

It says it's the boot volume, not necessarily the equivalent I guess of /boot on Linux where it's exclusively for boot related things.

You may want to email HN (see https://news.ycombinator.com/newsfaq.html) as it seems you're shadow banned.
Post reply on HN