diff options
author | Karel Zak | 2017-10-02 11:59:57 +0200 |
---|---|---|
committer | Karel Zak | 2017-10-02 11:59:57 +0200 |
commit | 76493ceba6600d3a98ad00deaf12edcf305f5ad4 (patch) | |
tree | f3f161d0e86244c574da4fdef4955722e4117ee6 /sys-utils/losetup.8 | |
parent | lib/randutils: remove superfluous continue (diff) | |
download | kernel-qcow2-util-linux-76493ceba6600d3a98ad00deaf12edcf305f5ad4.tar.gz kernel-qcow2-util-linux-76493ceba6600d3a98ad00deaf12edcf305f5ad4.tar.xz kernel-qcow2-util-linux-76493ceba6600d3a98ad00deaf12edcf305f5ad4.zip |
losetup: rename to --sector-size and LOG-SEC
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/losetup.8')
-rw-r--r-- | sys-utils/losetup.8 | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/sys-utils/losetup.8 b/sys-utils/losetup.8 index 570704d72..cdb9ed052 100644 --- a/sys-utils/losetup.8 +++ b/sys-utils/losetup.8 @@ -7,7 +7,7 @@ Get info: .sp .in +5 .B losetup -.I loopdev +[\fIloopdev\fP] .sp .B losetup -l .RB [ \-a ] @@ -31,12 +31,6 @@ Detach all associated loop devices: .B "losetup \-D" .sp .in -5 -Print the name of the first unused loop device: -.sp -.in +5 -.B "losetup \-f" -.sp -.in -5 Set up a loop device: .sp .in +5 @@ -45,6 +39,8 @@ Set up a loop device: .IR offset ] .RB [ \-\-sizelimit .IR size ] +.RB [ \-\-sector\-size +.IR size ] .in +8 .RB [ \-Pr ] .RB [ \-\-show ] " \-f" | \fIloopdev\fP @@ -116,8 +112,10 @@ The data start is moved \fIoffset\fP bytes into the specified file or device. .IP "\fB\-\-sizelimit \fIsize\fP" The data end is set to no more than \fIsize\fP bytes after the data start. .TP -.BR \-b , " \-\-logical-blocksize " \fIsize -Set the logical block size of the loop device in bytes (since Linux 4.14). +.BR \-b , " \-\-sector-size " \fIsize +Set the logical sector size of the loop device in bytes (since Linux 4.14). The +option may be used when create a new loop device as well as stand-alone command +to modify sector size of the already existing loop device. .TP .BR \-c , " \-\-set\-capacity " \fIloopdev Force the loop driver to reread the size of the file associated with the |