List all connected devices in OpenBSD
The sysctl command can list devices attached to the system. sysctl gets or sets kernel state.
To list how many disks you have:
sysctl hw.diskcount
To list disk names:
sysctl hw.disknames
Or sysctl -a | grep -i disk
dmesg | egrep '^(cd|wd|sd|fd). at '