Thus, a device name plus a disklabel identify an OpenBSD filesystem.įor example, the identifier sd2a refers to the filesystem on the To create a new filesystem on a disklabel partition, use the The c partition is always the entire disk. The boot disk's b partition is usually a swap partition. The boot disk's a partition is your root partition. This partition can be sliced into 16 disklabel partitions, labeled On the platforms that use fdisk, one MBR partition is used to hold all of the The term 'partition' can mean two different things in OpenBSD:Ĭalled Master Boot Record (MBR) partitions.Īll OpenBSD platforms use the disklabel program as the primary way to manage
Note that OpenBSD will not necessarily number drives in the same order as your So, the first IDE-like disk will be wd0 and the third SCSI-like The devices are numbered by the order in which they are detected at boot time, SCSI-like disks: Devices that utilize SCSI commands, USB disks, SATA disksĪnd disk arrays attached to a RAID controller. IDE-like disks: IDE, SATA, MFM or ESDI disks, or a flash device, attached to On most platforms, OpenBSD handles mass storage with two drivers: Platforms, so you should read the instructions in
The details of setting up disks in OpenBSD vary between