]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
blkdiscard: (man) offset and length must be sector aligned
authorLukas Czerner <lczerner@redhat.com>
Wed, 15 Apr 2020 07:08:12 +0000 (09:08 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 15 Apr 2020 09:32:05 +0000 (11:32 +0200)
Update blkdiscard manual page. Length and offset values must be aligned
to the device sector size.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reported-by: Patrick Oppenlander <patrick.oppenlander@gmail.com>
sys-utils/blkdiscard.8

index 98c6f36a98a74215bbb3b1f8fea06b61a008bf2e..bd3950b1fa6757f05a27204f440aff17ac3ae554 100644 (file)
@@ -43,11 +43,11 @@ The force option disables the exclusive access mode.
 .TP
 .BR \-o , " \-\-offset \fIoffset"
 Byte offset into the device from which to start discarding.  The provided value
-will be aligned to the device sector size.  The default value is zero.
+must be aligned to the device sector size.  The default value is zero.
 .TP
 .BR \-l , " \-\-length \fIlength"
 The number of bytes to discard (counting from the starting point).  The provided value
-will be aligned to the device sector size.  If the specified value extends past
+must be aligned to the device sector size.  If the specified value extends past
 the end of the device,
 .B blkdiscard
 will stop at the device size boundary.  The default value extends to the end