Skip to contentSkip to conversation

blkdiscard: (man) offset and length must be sector aligned

PATCH Applied Lukas Czerner 2 participants 2 messages Apr 15, 2020 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 blkdiscard: (man) offset and length must be sector aligned

Update blkdiscard manual page. Length and offset values must be aligned to the device sector size.

---
 sys-utils/blkdiscard.8 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
sys-utils/blkdiscard.8 +2 -2
index 98c6f36a9..bd3950b1f 100644
@@ -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
Signature · 1 line
2.21.1
maintainer Applied
#1 lore raw
Quoted 2 lines · Lukas Czerner
 sys-utils/blkdiscard.8 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com