mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-22 16:06:04 -05:00
Documentation: zram: fix dictionary spelling
Fixes a typo in the ZRAM documentation where 'dictioary' was misspelled. Corrected it to 'dictionary' in the example usage of 'algorithm_params'. Signed-off-by: Sarveshwaar SS <sarvesh20123@gmail.com> Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20241125165122.17521-1-sarvesh20123@gmail.com
This commit is contained in:
parent
b76d32422c
commit
5c14b68596
1 changed files with 3 additions and 3 deletions
|
@ -121,14 +121,14 @@ compression algorithm to use external pre-trained dictionary, pass full
|
||||||
path to the `dict` along with other parameters::
|
path to the `dict` along with other parameters::
|
||||||
|
|
||||||
#pass path to pre-trained zstd dictionary
|
#pass path to pre-trained zstd dictionary
|
||||||
echo "algo=zstd dict=/etc/dictioary" > /sys/block/zram0/algorithm_params
|
echo "algo=zstd dict=/etc/dictionary" > /sys/block/zram0/algorithm_params
|
||||||
|
|
||||||
#same, but using algorithm priority
|
#same, but using algorithm priority
|
||||||
echo "priority=1 dict=/etc/dictioary" > \
|
echo "priority=1 dict=/etc/dictionary" > \
|
||||||
/sys/block/zram0/algorithm_params
|
/sys/block/zram0/algorithm_params
|
||||||
|
|
||||||
#pass path to pre-trained zstd dictionary and compression level
|
#pass path to pre-trained zstd dictionary and compression level
|
||||||
echo "algo=zstd level=8 dict=/etc/dictioary" > \
|
echo "algo=zstd level=8 dict=/etc/dictionary" > \
|
||||||
/sys/block/zram0/algorithm_params
|
/sys/block/zram0/algorithm_params
|
||||||
|
|
||||||
Parameters are algorithm specific: not all algorithms support pre-trained
|
Parameters are algorithm specific: not all algorithms support pre-trained
|
||||||
|
|
Loading…
Reference in a new issue