On Mon, Aug 26, 2013 at 04:31:25PM +0000, Gabriel de Perthuis wrote: > On Mon, 26 Aug 2013 09:17:58 -0700, Darrick J. Wong wrote: > > On Mon, Aug 26, 2013 at 11:14:06AM +0200, Rolf Fokkens wrote: > >> /sys/fs/bcache/register 2>/dev/null > >> > >> I can imagine there's a more elegant solution, suggestions are welcome. > > > > /sys/fs/bcache/register_quiet > > Good point: the messages come from the kernel. > > register_quiet would make legitimate errors harder to debug however. > > I'll just send a patch to change "device already registered" > to a low-priority pr_debug message rather than something that > looks like an error. register_quiet isn't supposed to suppress legit errors - if it does that's a bug -- To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html