ecdye / zram-config

A complete zram-config utility for swap, directories, and logs to reduce SD, NAND and eMMC block wear.
MIT License
412 stars 53 forks source link

How to sync manually? #44

Closed yutayu closed 3 years ago

yutayu commented 3 years ago

zram_dir is the directory you wish to hold in zram, the original is moved to a bind mount bind_dir and is synchronised on start/stop and write commands.

pi@raspberrypi:~ $ sudo zram-config write Usage: zram-config {start|stop|enable-ephemeral|disable-ephemeral}

Zram-config is newest.

yutayu commented 3 years ago

And How about adding 'flush' function. flush is to increase available overlay disk , zram-config flush move all files to disk .

yutayu commented 3 years ago

already closed sorry.