On Mon, Feb 14, 2011 at 12:14 PM, Alasdair G Kergon <agk@redhat.com> wrote: > The simple problem is that the code today does not distinguish between > essential output (to stdout) and incidental output (to stdout). > > If I run 'pvs' I expect a list of PVs. > If I run 'pvs --quiet' do I still expect to see that list? > > Today, there is no distinction: pvs output and the message you're wanting > to suppress are the same category of message. Yes, there should be a difference between "do-something" commands and "tell-me-something" commands. I hope there aren't too many cases where that's a gray area. > The fix is to introduce a new macro alongside log_print so we can distinguish > between the two cases, then have --quiet discard the incidental output and > review every instance of log_print to see if it needs moving into the 'discard > if quiet' category. Also provide an lvm.conf option to make --quiet the default > for those who want that. etc. Jeff _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/