1 .\" Copyright (c) 2023 Benjamin Stürz <benni@stuerz.xyz>
3 .\" Permission to use, copy, modify, and distribute this software for any
4 .\" purpose with or without fee is hereby granted, provided that the above
5 .\" copyright notice and this permission notice appear in all copies.
7 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 .TH LSBLK 8 lsblk-@VERSION@ 2023-05-05
16 lsblk \- list block devices
24 utility can be used to examine block devices attached to the system.
27 operands it lists the specified devices.
28 Otherwise it lists all attached block devices.
32 prints version information to stdout, then exit.
38 don't print fancy unicode characters, only print ASCII.
41 don't print the header.
44 also print the filesystem usage of each partition
45 and the disklabel usage of each disk.
47 Note: The disklabel usage is calculated by
48 summing the size of all (except "c") partitions.
50 Note 2: There may be a small deviance in the filesystem usage,
51 please consult df(1) for more correct numbers.
56 utility exits 0 on success, and >0 if an error occurs.
59 The following line lists all block devices:
65 The following line lists all fields of sd0:
77 utility was originally written by the
82 clone of the original \fBlsblk\fR.
83 It is incompatible because it doesn't support
84 the same set of options as the original
85 and because of differences in the output.
86 More incompatibilities are caused by specific features only being available
87 on either Linux or OpenBSD.