Update README.md

This commit is contained in:
Grumpy Coder 2023-08-29 15:48:25 +00:00
parent 24e1a572b8
commit af6547a9e9

View file

@ -55,7 +55,7 @@ ACTION=="add|change", KERNEL=="sd[a-z]", ENV{ID_USB_TYPE}=="disk", RUN+="/usr/bi
use_tweaks=1
max_bytes=16777216
max_ration=50
max_ratio=50
strict_limit=1
# read user config
@ -70,7 +70,7 @@ if [[ -z "$1" ]]; then
fi
echo "$max_bytes" > "/sys/block/$1/bdi/max_bytes"
echo "$max_ration" > "/sys/block/$1/bdi/max_ratio"
echo "$max_ratio" > "/sys/block/$1/bdi/max_ratio"
echo "$strict_limit" > "/sys/block/$1/bdi/strict_limit"
```