Skip to contentSkip to conversation

zram: Compressed RAM-based block devices

DISCUSSION Soul-Rebel 1 participant 1 message Oct 1, 2024 Util-Linux package

lore
Share & tools
lore

Soul-Rebel

author
#0 lore raw

Hi hello,

REF: https://docs.kernel.org/admin-guide/blockdev/zram.html

Reading over the document explaining zram and see some spelling errors in step 4 of the usage section.  the word dictionary was misspelled in the path example "/etc/dictioary"

#pass path to pre-trained zstd dictionary
echo "algo=zstd dict=/etc/dictioary" > /sys/block/zram0/algorithm_params

#same, but using algorithm priority
echo "priority=1 dict=/etc/dictioary" > \

        /sys/block/zram0/algorithm_params

#pass path to pre-trained zstd dictionary and compression level echo "algo=zstd level=8 dict=/etc/dictioary" > \
        /sys/block/zram0/algorithm_params

Regards