Blob


1 .\" Copyright (c) 2023 Benjamin Stürz <benni@stuerz.xyz>
2 .\"
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.
6 .\"
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-01
15 .SH NAME
16 lsblk \- list block devices
17 .SH SYNOPSIS
18 .B lsblk [-Valnu]
19 .SH DESCRIPTION
20 The
21 .B lsblk
22 utility can be used to examine block devices attached to the system.
23 .SH OPTIONS
24 .TP
25 .B \-V
26 prints version information to stdout, then exit.
27 .TP
28 .B \-a
29 print all fields.
30 .TP
31 .B \-l
32 also print the label (packname) of each disk.
33 .TP
34 .B \-n
35 don't print the header.
36 .TP
37 .B \-u
38 also print the filesystem usage of each partition
39 and the disklabel usage of each disk.
41 Note: The disklabel usage is calculated by summing the size of all (except "c") partitions.
43 Note 2: There is some error in the filesystem usage, please consult df(1) for more correct numbers.
44 .SH SEE ALSO
45 .BR disklabel (8) ,
46 .BR df (1)