summaryrefslogtreecommitdiffstats
path: root/mount/losetup.8
diff options
context:
space:
mode:
authorShachar Shemesh2008-04-15 12:57:35 +0200
committerKarel Zak2008-04-15 12:57:35 +0200
commit7bcefc7f03aa5e2c346c92e0c9b780f51c716dee (patch)
tree54cc422b8b164c4fd4d915fa4d1a7c5987b80ddf /mount/losetup.8
parentmkswap: when writing the signature page, handle EINTR returns (diff)
downloadkernel-qcow2-util-linux-7bcefc7f03aa5e2c346c92e0c9b780f51c716dee.tar.gz
kernel-qcow2-util-linux-7bcefc7f03aa5e2c346c92e0c9b780f51c716dee.tar.xz
kernel-qcow2-util-linux-7bcefc7f03aa5e2c346c92e0c9b780f51c716dee.zip
losetup: add --sizelimit option
[kzak@redhat.com: split the original patch to small patches] Signed-off-by: Shachar Shemesh <shachar@debian.org> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/losetup.8')
-rw-r--r--mount/losetup.84
1 files changed, 4 insertions, 0 deletions
diff --git a/mount/losetup.8 b/mount/losetup.8
index 400ec2cab..c6ba75f16 100644
--- a/mount/losetup.8
+++ b/mount/losetup.8
@@ -35,6 +35,8 @@ Setup loop device:
.IR encryption ]
.RB [ \-o
.IR offset ]
+.RB [ \-\-sizelimit
+.IR limit ]
.RB [ \-p
.IR pfd ]
.RB [ \-r ]
@@ -84,6 +86,8 @@ show status of all loop devices associated with given
.IP "\fB\-o, \-\-offset \fIoffset\fP"
the data start is moved \fIoffset\fP bytes into the specified file or
device
+.IP "\fB\-\-sizelimit \fIlimit\fP"
+The data end is set to no more than \fIsizelimit\fP bytes after the data start.
.IP "\fB\-p, \-\-pass-fd \fInum\fP"
read the passphrase from file descriptor with number
.I num