1 DISKINFO(1) General Commands Manual DISKINFO(1)
4 diskinfo - display disk information
11 The diskinfo utility displays information about all available or the
12 specified disk device. The disk operand can be a "short form" name or
13 disklabel(8) UID. If no operands are specified, information for all
14 available disks is displayed. By default, size values are displayed as
15 512-byte block counts.
17 The options are as follows:
19 -h "Human-readable" output. Use unit suffixes: Byte, Kilobyte,
20 Megabyte, Gigabyte, Terabyte, Petabyte, Exabyte in order to
21 reduce the number of digits to four or less.
24 Output information for all available disks:
27 DISK TOTAL FSTYPE MOUNT
28 sd0:e0da951523552d12 [QEMU QEMU HARDDISK]
29 |-- sd0a 976240591 RAID
30 |-- sd0c 976773168 unused
33 sd1:61992282be82044b [QEMU QEMU CRYPTO]
34 |-- sd1a 2097152 4.2BSD /
35 |-- sd1b 67461472 swap
36 |-- sd1c 976240063 unused
40 disklabel(5), mount(8), getmntinfo(3), sd(4), fstab(5),
42 OpenBSD 7.8 November 21, 2025 DISKINFO(1)