How to get rid of additional kernel messages on console?

Solution Verified - Updated -

Issue

When we reread the partition table using partprobe we see the messages from bellow, even when we redirect stdin and stderr to /dev/null:

[root@localhost ~]# partprobe &>>/dev/null
 vdb: vdb1 vdb2
 vdd: vdd1
[root@localhost ~]#

When doing the same through ssh the messages are not seen:

[root@localhost ~]# partprobe &>>/dev/null
[root@localhost ~]#

How can we disable the additional messages on console?

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content