0

All partitions can have: "rw,nodev,nosuid", only exception is the "/dev" directory (that it cannot have "nodev").

Is there a way that i can partition a new OpenBSD install that all usual mounts would be under "/", with the only exception of "/dev"?

So there should be two partitions: "/" and "/dev" - is this possible?

asked Jul 8, 2024 at 12:00
9
  • Yes it is, but... why? Commented Jul 11, 2024 at 8:23
  • 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 /. Commented Jul 13, 2024 at 11:44
  • 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. Commented Jul 13, 2024 at 12:15
  • "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 Commented Jul 14, 2024 at 11:03
  • why cannot i have noexec on /usr ? Commented Jul 14, 2024 at 11:04

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.