]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
zramctl: add details to --size option documentation
authorSami Kerola <kerolasa@iki.fi>
Sat, 2 Aug 2014 17:43:42 +0000 (18:43 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 11 Aug 2014 11:58:35 +0000 (13:58 +0200)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/zramctl.8

index 74240a1ca4dfeea581eff983891a606e2a73d4c8..a30823388a543f2937b07b4a18862570dc971ddc 100644 (file)
@@ -68,8 +68,15 @@ 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
-
+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.
+.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"
 is optional, e.g., "K" has the same meaning as "KiB") or the suffixes