Util-Linux package development
 help / color / mirror / Atom feed
* [PATCH] blkdiscard: (man) offset and length must be sector aligned
@ 2020-04-15  7:08 Lukas Czerner
  2020-04-15  9:32 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Lukas Czerner @ 2020-04-15  7:08 UTC (permalink / raw)
  To: util-linux; +Cc: Patrick Oppenlander

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 | 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] blkdiscard: (man) offset and length must be sector aligned
  2020-04-15  7:08 [PATCH] blkdiscard: (man) offset and length must be sector aligned Lukas Czerner
@ 2020-04-15  9:32 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2020-04-15  9:32 UTC (permalink / raw)
  To: Lukas Czerner; +Cc: util-linux, Patrick Oppenlander

On Wed, Apr 15, 2020 at 09:08:12AM +0200, Lukas Czerner wrote:
>  sys-utils/blkdiscard.8 | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-15  9:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-15  7:08 [PATCH] blkdiscard: (man) offset and length must be sector aligned Lukas Czerner
2020-04-15  9:32 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox