Skip to content

Commit 327c9ab

Browse files
Soft-hide global /recompress parameters
Ref: #215
1 parent 6151160 commit 327c9ab

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

man/zram-generator.conf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Devices with the final size of *0* will be discarded.
8080
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.
8181

8282
If a compression algorithm is suffixed with a parenthesised comma-separated list of parameters, those are given to `.../algorithm_params`.
83-
A parenthesised parameter list *without* a compression algorithm is set as the global recompression parameters (`.../recompress`).
83+
A parenthesised parameter list *without* a compression algorithm is written to `.../recompress`.
8484

8585
* `writeback-device`=
8686

zram-generator.conf.example

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ zram-resident-limit = maxhotplug * 3/4
3838
#
3939
# Subsequent algorithms are used for recompression.
4040
# Comma-separated parameters may be specified in parentheses.
41-
#
42-
# Parameters without a compression algorithm are set as
43-
# global recompression parameters.
44-
compression-algorithm = lzo-rle zstd(level=3) (type=idle)
41+
compression-algorithm = lzo-rle zstd(level=3)
4542

4643
# By default, file systems and swap areas are trimmed on-the-go
4744
# by setting "discard".

0 commit comments

Comments
 (0)