summaryrefslogtreecommitdiffstats
path: root/sys-utils/losetup.8
diff options
context:
space:
mode:
authorKarel Zak2012-01-09 23:27:53 +0100
committerKarel Zak2012-01-09 23:28:50 +0100
commit916bf85e621bb01d58279a014088376c80050a74 (patch)
tree0571e873b22ea4eda45d03801d4e073bc0a8a1a3 /sys-utils/losetup.8
parentloopdev: improve debug messages (diff)
downloadkernel-qcow2-util-linux-916bf85e621bb01d58279a014088376c80050a74.tar.gz
kernel-qcow2-util-linux-916bf85e621bb01d58279a014088376c80050a74.tar.xz
kernel-qcow2-util-linux-916bf85e621bb01d58279a014088376c80050a74.zip
losetup: add --partscan option
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/losetup.8')
-rw-r--r--sys-utils/losetup.84
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-utils/losetup.8 b/sys-utils/losetup.8
index 43dc76815..3d407217a 100644
--- a/sys-utils/losetup.8
+++ b/sys-utils/losetup.8
@@ -49,7 +49,7 @@ Setup loop device:
.in +8
.RB [ \-p
.IR pfd ]
-.RB [ \-r ]
+.RB [ \-rP ]
.RB { \-f [ \-\-show ]| \fIloopdev\fP }
.I file
.sp
@@ -99,6 +99,8 @@ the data end is set to no more than \fIsize\fP bytes after the data start
read the passphrase from file descriptor with number
.I num
instead of from the terminal
+.IP "\fB\-P, \-\-partscan\fP"
+force kernel to scan partition table on newly created loop device
.IP "\fB\-r, \-\-read-only\fP"
setup read-only loop device
.IP "\fB\-\-show\fP"