[linux-lvm] vgs result code error

Alasdair G Kergon agk at redhat.com
Tue Jul 21 10:35:11 UTC 2009

On Tue, Jul 21, 2009 at 04:41:46AM -0500, Ron Johnson wrote:
> Debian Sid's 2.02.44-3 returns a non-zero code, so either RH fixed it 
> upstream, or Debian patched it...

> # vgs /dev/sdc1
>   WARNING: Ignoring duplicate config node: filter (seeking filter)
>   Volume group "sdc1" not found
> # echo $?
> 5

That's a *different* error case that works correctly.

Yes, I agree that the original case mentioned should give EINVALID_CMD_LINE
instead of ECMD_PROCESSED.


More information about the linux-lvm mailing list