prevent modprobe output

Mike Frysinger vapier at gentoo.org
Mon Jan 10 15:53:26 UTC 2011


On Mon, Jan 10, 2011 at 10:23 AM, David Henderson wrote:
> Is there a way to prevent modprobe from displaying information related to a
> driver being loaded?  I'm stumped and have tried the following:
>
> modprobe -q e1000e
> modprobe -q e1000e >/dev/null
> modprobe -q e1000e &>/dev/null
>
> Nothing I seem to do makes it go away.  I'd really only like to make stdout
> quiet, while leaving the ability for any errors to continue to be shown.

sounds like you're confusing kernel console output with a program's
stdout/stderr.  try using `dmesg -n 3`.

otherwise, post some actual output of what you're seeing and
attempting to silence.
-mike


More information about the busybox mailing list