summaryrefslogtreecommitdiffstats
path: root/sys-utils/losetup.8
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/losetup.8')
-rw-r--r--sys-utils/losetup.810
1 files changed, 8 insertions, 2 deletions
diff --git a/sys-utils/losetup.8 b/sys-utils/losetup.8
index 921e10b78..9613e46ce 100644
--- a/sys-utils/losetup.8
+++ b/sys-utils/losetup.8
@@ -9,7 +9,8 @@ Get info:
.B losetup
.I loopdev
.sp
-.B losetup -a
+.B losetup -l
+.RB [ \-a ]
.sp
.B losetup -j
.I file
@@ -74,7 +75,7 @@ device is shown.
.IP "\fB\-a, \-\-all\fP"
show status of all loop devices. Note that not all information are accessible
-for non-root users.
+for non-root users. See also \fB\-\-list\fP.
.IP "\fB\-c, \-\-set-capacity\fP \fIloopdev\fP
force loop driver to reread size of the file associated with the specified loop device
.IP "\fB\-d, \-\-detach\fP \fIloopdev\fP..."
@@ -90,9 +91,14 @@ print help
.IP "\fB\-j, \-\-associated \fIfile\fP"
show status of all loop devices associated with given
.I file
+.IP "\fB\-l, \-\-list"
+if a loop device or the -a option is specified, print default columns for either the specified
+loop device or all loop devices, default is to print info about all devices.
.IP "\fB\-o, \-\-offset \fIoffset\fP"
the data start is moved \fIoffset\fP bytes into the specified file or
device
+.IP "\fB\-O, \-\-output \fIcolumns\fP"
+specify which columns are to be printed for the \fB\-\-list\fP output
.IP "\fB\-\-sizelimit \fIsize\fP"
the data end is set to no more than \fIsize\fP bytes after the data start
.IP "\fB\-P, \-\-partscan\fP"