Util-Linux package development
 help / color / mirror / Atom feed
From: Lukas Czerner <lczerner@redhat.com>
To: util-linux@vger.kernel.org
Cc: Patrick Oppenlander <patrick.oppenlander@gmail.com>
Subject: [PATCH] blkdiscard: (man) offset and length must be sector aligned
Date: Wed, 15 Apr 2020 09:08:12 +0200	[thread overview]
Message-ID: <20200415070812.25574-1-lczerner@redhat.com> (raw)

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


             reply	other threads:[~2020-04-15  7:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-15  7:08 Lukas Czerner [this message]
2020-04-15  9:32 ` [PATCH] blkdiscard: (man) offset and length must be sector aligned Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200415070812.25574-1-lczerner@redhat.com \
    --to=lczerner@redhat.com \
    --cc=patrick.oppenlander@gmail.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox