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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Lukas Czerner <lczerner@xxxxxxxxxx>
Reported-by: Patrick Oppenlander <patrick.oppenlander@xxxxxxxxx>
---
 sys-utils/blkdiscard.8 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-utils/blkdiscard.8 b/sys-utils/blkdiscard.8
index 98c6f36a9..bd3950b1f 100644
--- a/sys-utils/blkdiscard.8
+++ b/sys-utils/blkdiscard.8
@@ -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
-- 
2.21.1




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux