Re: How do I get the ext3 driver to shut up?

From: Rob Landley
Date: Tue Mar 14 2006 - 11:39:08 EST


On Tuesday 14 March 2006 9:48 am, Theodore Ts'o wrote:
> On Mon, Mar 13, 2006 at 11:14:07PM -0800, Andrew Morton wrote:
> > > Guess which device driver feels a bit chatty?
> > >
> > > ...
> > >
> > > VFS: Can't find ext3 filesystem on dev loop0.
> >
> > That's only printed if the sys_mount() caller set MS_VERBOSE in `flags'.
>
> I should have been a bit more explict in my previous message.
> Actually, if you trace down the logic, it's only printed if
> sys_mount() __DIDN'T__ set MS_VERBOSE in 'flags'. The code in
> fs/super.c sets the "silent" flag if (flags & MS_VERBOSE) is non-zero.
> The meaning is reversed, which is counterintuitive. Hence, my patch.

Just confirming: you aren't proposing a change to kernel behavior, instead the
the busybox mount program should set MS_VERBOSE/MS_SILENT by default if it
wants to avoid these messages appearing on the console?

Rob
--
Never bet against the cheap plastic solution.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/