[Bug 841060] lvscan gives no output while "lvs" does
http://bugzilla.suse.com/show_bug.cgi?id=841060 --- Comment #14 from Liuhua Wang <lwang@suse.com> --- (In reply to Markus Koßmann from comment #11)
<http://www.redhat.com/archives/lvm-devel/2012-August/msg00069.html> seems to be the patch, which introduced the silent switch. But if I understand it right silent=1 does the same thing as using the -qq option on command line.
The man page of lvm.conf says: Set to 1 to suppress all non-essential tool output. When set, display and reporting tools will still write the requested device properties to standard output, but messages confirming that something was or wasn't changed will be reduced to the 'verbose' level and not appear unless -v is supplied. If lvscan is considered to be a "display and reporting tool" , then it's a bug in lvscan.
I think lvscan is an operation command which scan (all disks) for Logical Volumes. So it is reasonable not to output when silent=1. If you think it is needed, I can also fix the manual. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com