3 .\" Copyright (c) 2025 Tobias Heider <tobhe@openbsd.org>
5 .\" Permission to use, copy, modify, and distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the above
7 .\" copyright notice and this permission notice appear in all copies.
9 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 .Dd $Mdocdate: November 21 2025 $
22 .Nd display disk information
32 utility displays information about all available or the specified
42 If no operands are specified,
43 information for all available disks is displayed.
44 By default, size values are displayed as 512-byte block counts.
46 The options are as follows:
49 "Human-readable" output.
50 Use unit suffixes: Byte, Kilobyte, Megabyte,
51 Gigabyte, Terabyte, Petabyte, Exabyte in order to reduce the number of
52 digits to four or less.
54 Output information for all available disks:
58 DISK TOTAL FSTYPE MOUNT
59 sd0:e0da951523552d12 [QEMU QEMU HARDDISK]
60 |-- sd0a 976240591 RAID
61 |-- sd0c 976773168 unused
64 sd1:61992282be82044b [QEMU QEMU CRYPTO]
65 |-- sd1a 2097152 4.2BSD /
66 |-- sd1b 67461472 swap
67 |-- sd1c 976240063 unused