blkdiscard: (man) offset and length must be sector aligned
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.
Signed-off-by Lukas Czerner <[email protected]>
Reported-by Patrick Oppenlander <[email protected]>
--- sys-utils/blkdiscard.8 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sys-utils/blkdiscard.8 +2 -2
@@ -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
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