OpenBSD Beginner Essentials

OpenBSD mascot

I have began learning OpenBSD and before my bookmarks get filled further I am documenting the essential FAQ, man pages, etc I come across deemed essential for understanding and learning the system. As I am a beginner of the system myself, this is not completely comprehensive or may not be accurate as what is deemed essential to one may not be to another as it is subjective.

In essence, read the manuals it is very comprehensive.

Manuals and FAQs

Here is a list of some useful manual pages for new users:

Understanding OpenBSD

Confusing things for Linux users

  • lsblk equivalent is disklabel -h

  • After a disk has an MBR partition (using fdisk as an example), use disklabel to create labels to divide up the partition (Similar to LVM kind of)

  • After labels are created, use newfs to create a filesystem on each of the new labels

  • The dmesg log is stored under /var/run/ and is called dmesg.boot, it is not under /var/log/

  • sudo was replaced by doas

  • DUID (disklabel unique identifier) is similar in concept to a UUID (Universally Unique Identifier). One big difference being that DUIDs refer to whole disks or MBR partitions, rather than a UUID per file system. To refer to an individual disklabel explicitly such as for in fstab, use .

  • In place of mdadm, reference bioctl and softraid manual pages instead. Additionally, softraid builds its virtual disks out of disklabel partitions

Load Comments?