From 7bcefc7f03aa5e2c346c92e0c9b780f51c716dee Mon Sep 17 00:00:00 2001 From: Shachar Shemesh Date: Tue, 15 Apr 2008 12:57:35 +0200 Subject: losetup: add --sizelimit option [kzak@redhat.com: split the original patch to small patches] Signed-off-by: Shachar Shemesh Signed-off-by: Karel Zak --- mount/losetup.8 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mount/losetup.8') 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 -- cgit v1.2.3-55-g7522