From 26ea6eb1049851e6eaa661b9bb65dd27130a5e3f Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 19 Feb 2009 19:01:34 +0100 Subject: losetup: cleanup man page Signed-off-by: Karel Zak --- mount/losetup.8 | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'mount/losetup.8') 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 [-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 -- cgit v1.2.3-55-g7522