On 17/08/13 22:56, Gabriel de Perthuis wrote:
I try to enable writeback:

    sudo echo writeback > /sys/block/bcache0/cache_mode

it returns the error

    bash: /sys/block/bcache0/cache_mode: No such file or directory
You're confusing bcache0 with bcache0/bcache

     echo writeback |sudo tee -a /sys/block/bcache0/bcache/cache_mode

will work.

Thanks, that works. The command I was originally trying to use is what is shown in the documentation at http://evilpiepirate.org/git/linux-bcache.git/tree/Documentation/bcache.txt. It has

    # echo writeback > /sys/block/bcache0/cache_mode

as the command to run.
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to