Применяется ли логика сжатия BTRFS при дефрагментации?

Аналогично идее стилдрайвера , но с учетом звезд:

awk '{ $1 = 1 + gsub(/\*/, "", $1); print; }' < input > output

При выполнении на вводе выборки это приводит к:

2 15.934934
3 19.281281
4 78.20912

1
04.09.2019, 15:19
1 ответ

Из Вики BTRFS:

How can I recursively compress/uncompress a directory (including guessed/forced-compression)

Uset the btrfs filesystem defrag command, the option -r will process the files recursively in a directory. This is independent of the mount options compress or compress-force, and using the option -c you can set the compression algorithm.

Currently (v4.14), it's not possible to select "no compression", using the defrag command. This may change in the future.

-1
13.05.2020, 20:43

Теги

Похожие вопросы