diff options
author | Benno Schulenberg | 2014-08-11 22:23:39 +0200 |
---|---|---|
committer | Karel Zak | 2014-08-20 10:47:07 +0200 |
commit | 882be6261067b4642094f0ed796871601d526285 (patch) | |
tree | e83389de7156252de51795305416335fb0a77975 /sys-utils/zramctl.8 | |
parent | fdisk: add independent debug stuff (diff) | |
download | kernel-qcow2-util-linux-882be6261067b4642094f0ed796871601d526285.tar.gz kernel-qcow2-util-linux-882be6261067b4642094f0ed796871601d526285.tar.xz kernel-qcow2-util-linux-882be6261067b4642094f0ed796871601d526285.zip |
docs: improve the description of --size in the man page of zramctl
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils/zramctl.8')
-rw-r--r-- | 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 a30823388..6f82ccf59 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" |