summaryrefslogtreecommitdiffstats
path: root/sys-utils/zramctl.8
diff options
context:
space:
mode:
authorKarel Zak2018-06-11 11:14:56 +0200
committerKarel Zak2018-06-11 11:14:56 +0200
commit3b3f43748f55b1c17ad55beb9a6eb6be49a68c77 (patch)
tree862b4cfb91dd36459faa366e872327be375868da /sys-utils/zramctl.8
parentblkzone: fix whole device detection (diff)
downloadkernel-qcow2-util-linux-3b3f43748f55b1c17ad55beb9a6eb6be49a68c77.tar.gz
kernel-qcow2-util-linux-3b3f43748f55b1c17ad55beb9a6eb6be49a68c77.tar.xz
kernel-qcow2-util-linux-3b3f43748f55b1c17ad55beb9a6eb6be49a68c77.zip
zramctl: (man) explain that --find is necessary
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1589148 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/zramctl.8')
-rw-r--r--sys-utils/zramctl.87
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-utils/zramctl.8 b/sys-utils/zramctl.8
index ccfb8901d..c6ecdc3d5 100644
--- a/sys-utils/zramctl.8
+++ b/sys-utils/zramctl.8
@@ -42,13 +42,18 @@ is used to quickly set up zram device parameters, to reset zram devices, and to
query the status of used zram devices.
.PP
If no option is given, all non-zero size zram devices are shown.
+.PP
+Note that \fIzramdev\fP node specified on command line has to already exist. The command
+.B zramctl
+creates a new /dev/zram<N> nodes only when \fB\-\-find\fR option specified. It's possible
+(and common) that after system boot /dev/zram<N> nodes are not created yet.
.SH OPTIONS
.TP
.BR \-a , " \-\-algorithm lzo" | lz4 | lz4hc | deflate | 842
Set the compression algorithm to be used for compressing data in the zram device.
.TP
.BR \-f , " \-\-find"
-Find the first unused zram device. If a \fB--size\fR argument is present, then
+Find the first unused zram device. If a \fB\-\-size\fR argument is present, then
initialize the device.
.TP
.BR \-n , " \-\-noheadings"