public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Benno Schulenberg <bensberg@justemail.net>
To: util-linux@vger.kernel.org
Subject: [PATCH] docs: improve the description of --size in the man page of zramctl
Date: Mon, 11 Aug 2014 22:23:39 +0200	[thread overview]
Message-ID: <1407788619-4298-1-git-send-email-bensberg@justemail.net> (raw)

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
---
 sys-utils/zramctl.8 |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/sys-utils/zramctl.8 b/sys-utils/zramctl.8
index a308233..6f82ccf 100644
--- a/sys-utils/zramctl.8
+++ b/sys-utils/zramctl.8
@@ -67,15 +67,10 @@ Reset the options of the specified zram device(s).  Zram device settings
 can be changed only after a reset.
 .TP
 .BR \-s , " \-\-size " \fIsize
-Force the zram driver to reread the size of the file associated with
-the specified zram device.  When not specified the
-.I size
-unit is bytes.  The zram devices size is page size aligned.  When
-requested
-.I size
-does match with page size the device be large enough to hold the reqested
-.I size
-plus length to next page boundary.
+Create a zram device of the specified \fIsize\fR.
+Zram devices are aligned to memory pages; when the requested \fIsize\fR is
+not a multiple of the page size, it will be rounded up to the next multiple.
+When not otherwise specified, the unit of the \fIsize\fR parameter is bytes.
 .IP
 The \fIsize\fR argument may be followed by the multiplicative suffixes KiB (=1024),
 MiB (=1024*1024), and so on for GiB, TiB, PiB, EiB, ZiB and YiB (the "iB"
-- 
1.7.0.4


             reply	other threads:[~2014-08-11 20:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-11 20:23 Benno Schulenberg [this message]
2014-08-11 20:34 ` [PATCH] docs: improve the description of --size in the man page of zramctl Benno Schulenberg
2014-08-12 12:37   ` Karel Zak
2014-08-12 20:10     ` Benno Schulenberg
2014-08-20  9:01 ` 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=1407788619-4298-1-git-send-email-bensberg@justemail.net \
    --to=bensberg@justemail.net \
    --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