public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
From: Gabriel de Perthuis <g2p.code-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Can't enable writeback
Date: Sat, 17 Aug 2013 12:56:58 +0000 (UTC)	[thread overview]
Message-ID: <kunruq$541$1@ger.gmane.org> (raw)
In-Reply-To: 520F65C8.8050301@internode.on.net

> 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.

  reply	other threads:[~2013-08-17 12:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-17 12:00 Can't enable writeback Nick Payne
2013-08-17 12:56 ` Gabriel de Perthuis [this message]
2013-08-17 21:39   ` Nick Payne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='kunruq$541$1@ger.gmane.org' \
    --to=g2p.code-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox