~ubuntu-branches/ubuntu/trusty/util-linux/trusty-proposed

« back to all changes in this revision

Viewing changes to misc-utils/lsblk.8

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2011-11-03 15:38:23 UTC
  • mto: (4.5.5 sid) (1.6.4)
  • mto: This revision was merged to the branch mainline in revision 85.
  • Revision ID: package-import@ubuntu.com-20111103153823-10sx16jprzxlhkqf
ImportĀ upstreamĀ versionĀ 2.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\" -*- nroff -*-
2
 
.TH LSBLK 8 "Apr 2010" "Version 1.0"
 
2
.TH LSBLK 8 "April 2010" "util-linux" "System Administration"
3
3
.SH NAME
4
4
lsblk \- list block devices
5
5
.SH SYNOPSIS
11
11
.IR device...
12
12
.SH DESCRIPTION
13
13
.B lsblk
14
 
lists information about all or the specified block devices. The
 
14
lists information about all or the specified block devices.  The
15
15
.B lsblk
16
16
command reads the
17
17
.I sysfs
29
29
.IP "\fB\-d, \-\-nodeps\fP"
30
30
Don't print device holders or slaves.  For example "lsblk --nodeps /dev/sda" prints
31
31
information about the sda device only.
 
32
.IP "\fB\-D, \-\-discard\fP"
 
33
Print information about the discard (TRIM, UNMAP) capabilities for each device.
32
34
.IP "\fB\-e, \-\-exclude \fIlist\fP
33
 
Exclude the devices specified by a comma-delimited list of major device numbers.
 
35
Exclude the devices specified by a comma-separated \fIlist\fR of major device numbers.
34
36
Note that RAM disks (major=1) are excluded by default.
35
37
.IP "\fB\-f, \-\-fs\fP
36
38
Output info about filesystems.  This option is equivalent to "-o NAME,FSTYPE,LABEL,MOUNTPOINT".
40
42
.IP "\fB\-h, \-\-help\fP"
41
43
Print a help text and exit.
42
44
.IP "\fB\-i, \-\-ascii\fP"
43
 
Use ascii characters for tree formatting.
 
45
Use ASCII characters for tree formatting.
44
46
.IP "\fB\-m, \-\-perms\fP
45
47
Output info about device owner, group and mode.  This option is equivalent to "-o NAME,SIZE,OWNER,GROUP,MODE".
46
48
.IP "\fB\-l, \-\-list\fP"
51
53
Specify which output columns to print.  Use
52
54
.B "--help"
53
55
to get a list of all supported columns.
 
56
.IP "\fB\-P, \-\-pairs\fP"
 
57
Use key="value" output format.
54
58
.IP "\fB\-r, \-\-raw\fP"
55
59
Use the raw output format.
56
60
.IP "\fB\-t, \-\-topology\fP"
57
61
Output info about block device topology.
58
62
This option is equivalent to "-o NAME,ALIGNMENT,MIN-IO,OPT-IO,PHY-SEC,LOG-SEC,ROTA,SCHED".
 
63
.SH NOTES
 
64
For the partitions are some information (e.g. queue attributes) inherited from
 
65
parental device.
59
66
.SH AUTHORS
60
67
.nf
61
68
Milan Broz <mbroz@redhat.com>