You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: man/zram-generator.conf.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,10 +72,14 @@ Devices with the final size of *0* will be discarded.
72
72
73
73
Specifies the algorithm used to compress the zram device.
74
74
75
-
This takes a literal string, representing the algorithm to use.<br />
76
-
Consult */sys/block/zram0/comp_algorithm* for a list of currently loaded compression algorithms, but note that additional ones may be loaded on demand.
75
+
This takes a whitespace-separated list string, representing the algorithms to use, and parameters in parenteses.<br />
76
+
Consult */sys/block/zram0/comp_algorithm*(and *.../recomp_algorithm*) for a list of currently loaded compression algorithms, but note that additional ones may be loaded on demand.
77
77
78
-
If unset, none will be configured and the kernel's default will be used.
78
+
If unset, none will be configured and the kernel's default will be used.<br />
79
+
If more than one is given, and recompression is enabled in the kernel, subsequent ones will be set as the recompression algorithms, with decreasing priority.
80
+
81
+
If a compression algorithm is suffixed with a parenthesised comma-separated list of parameters, those are given to `.../algorithm_params` (and `.../recompress`).
82
+
A parenthesised parameter list *without* a compression algorithm is set as the global recompression parameters.
0 commit comments