summaryrefslogtreecommitdiffstats
path: root/mount/losetup.8
diff options
context:
space:
mode:
authorKarel Zak2009-02-19 19:01:34 +0100
committerKarel Zak2009-02-19 19:01:34 +0100
commit26ea6eb1049851e6eaa661b9bb65dd27130a5e3f (patch)
tree287b3304d3381a25353ad2b22a7d04f838538298 /mount/losetup.8
parentlosetup: detach more devices by "-d <loop> [<loop> ..]" (diff)
downloadkernel-qcow2-util-linux-26ea6eb1049851e6eaa661b9bb65dd27130a5e3f.tar.gz
kernel-qcow2-util-linux-26ea6eb1049851e6eaa661b9bb65dd27130a5e3f.tar.xz
kernel-qcow2-util-linux-26ea6eb1049851e6eaa661b9bb65dd27130a5e3f.zip
losetup: cleanup man page
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/losetup.8')
-rw-r--r--mount/losetup.819
1 files changed, 11 insertions, 8 deletions
diff --git a/mount/losetup.8 b/mount/losetup.8
index 179101895..eae58043b 100644
--- a/mount/losetup.8
+++ b/mount/losetup.8
@@ -7,19 +7,22 @@ Get info:
.sp
.in +5
.B losetup
-.I loop_device
+.I loopdev
.sp
.B losetup -a
.sp
-.B losetup -j <file> [-o offset]
+.B losetup -j
+.I file
+.RB [ \-o
+.IR offset ]
.sp
.in -5
Delete loop:
.sp
.in +5
.B "losetup \-d"
-.I loop_device
-.RB [ \fIloop_device\fP
+.I loopdev
+.RB [ \fIloopdev\fP
.RB ...]
.sp
.in -5
@@ -39,11 +42,11 @@ Setup loop device:
.IR offset ]
.RB [ \-\-sizelimit
.IR limit ]
+.in +8
.RB [ \-p
.IR pfd ]
.RB [ \-r ]
-.in +8
-.RB { \-f [ \-\-show ] | \fIloop_device\fP }
+.RB { \-f [ \-\-show ] | \fIloopdev\fP }
.I file
.in -13
.ad b
@@ -51,7 +54,7 @@ Setup loop device:
.B losetup
is used to associate loop devices with regular files or block devices,
to detach loop devices and to query the status of a loop device. If only the
-\fIloop_device\fP argument is given, the status of the corresponding loop
+\fIloopdev\fP argument is given, the status of the corresponding loop
device is shown.
.SS "Encryption"
@@ -72,7 +75,7 @@ and finds the module that knows how to perform that encryption.
.SH OPTIONS
.IP "\fB\-a, \-\-all\fP"
show status of all loop devices
-.IP "\fB\-d, \-\-detach\fP"
+.IP "\fB\-d, \-\-detach\fP \fIloopdev\fP [\fIloopdev\fP ...]"
detach the file or device associated with the specified loop device(s)
.IP "\fB\-e, \-E, \-\-encryption \fIencryption_type\fP"
enable data encryption with specified name or number