]> 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>
Fri, 15 May 2020 10:13:39 +0000 (12:13 +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 1f3a32be9f039922b5125e039bcbb94f605f9a13..b9d9e7f34d3f5e322e1f887cb98ef245c21cffc9 100644 (file)
@@ -38,11 +38,11 @@ KB (=1000), MB (=1000*1000), and so on for GB, TB, PB, EB, ZB and YB.
 .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