Skip to main content
12 events
when toggle format what by license comment
Aug 25, 2024 at 8:52 comment added Vilinkameni The only possible reason behind having /dev as a separate partition would be to prevent a mistake like dd if=install-disk.img of=/dev/sda (note that OpenBSD does not have the device named sda), which would create a regular file named /dev/sda, potentially several GB in size. The real solution is to be more careful when executing any commands as root, especially one such as that. Also, command line completion (Tab key) helps.
Aug 25, 2024 at 8:46 comment added Vilinkameni no, afaik you cannot separate /dev, since it won't boot anymore. looks like OpenBSD always wants the /dev inside the "/" - this looks like an answer to the question.
Aug 25, 2024 at 8:44 comment added Vilinkameni /dev uses around 40kB on OpenBSD 7.5, of which ~12kB go to the MAKEDEV script, so there really is no need to have it as a separate partition. It is the directory holding just the device pseudofiles (plus the mentioned script, and a few lockfiles).
Jul 14, 2024 at 20:29 comment added Zé Loff Because you (almost certainly) need the binaries on /usr/bin.
Jul 14, 2024 at 11:04 comment added peterK88 why cannot i have noexec on /usr ?
Jul 14, 2024 at 11:03 comment added peterK88 "Yes it is, but... why? – Zé Loff" -> no, afaik you cannot separate /dev, since it won't boot anymore. looks like OpenBSD always wants the /dev inside the "/" - @ZéLoff
Jul 13, 2024 at 12:15 comment added Zé Loff They don't necessarily have the same mount options. You probably want noexec on /var, or /tmp, but not on /usr or /. You might need wxallowed on /usr/local but not anywhere else, etc etc etc. Logs will not fill up / until they do, and then you'll be screwed if you can't even log in. There are plenty of reasons for using separate mount points, and, in an age where virtually any storage medium has at least 16Gb, efficiency is definitely not a problem, IMHO.
Jul 13, 2024 at 11:44 comment added peterK88 for storage efficiency. why having many partitions when they are using the same mount option? only /dev using different mount option as it needs dev files. logs will not fill up the /.
Jul 11, 2024 at 8:23 comment added Zé Loff Yes it is, but... why?
Jul 8, 2024 at 12:01 history edited peterK88 CC BY-SA 4.0
added 30 characters in body
S Jul 8, 2024 at 12:00 review First questions
Jul 22, 2024 at 12:05
S Jul 8, 2024 at 12:00 history asked peterK88 CC BY-SA 4.0