Mailinglist Archive: opensuse-bugs (3912 mails)

< Previous Next >
[Bug 841060] lvscan gives no output while "lvs" does
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 02 Feb 2015 10:23:53 +0000
  • Message-id: <bug-841060-21960-NOHgomZQbF@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=841060

--- Comment #14 from Liuhua Wang <lwang@xxxxxxxx> ---
(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.
< Previous Next >