Howto get rid of additional kernel messages on console?
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
