top | item 38472165

(no title)

nishs | 2 years ago

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/.

discuss

order

mananaysiempre|2 years ago

> 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)?

ahoka|2 years ago

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

Retr0id|2 years ago

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).