1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-21 22:04:19 +03:00
Dave Wysochanski 3a30d1db20 Fix return values for reporting commands when run with no PVs, LVs, or VGs.
The new error checking code caught some commands that were returning '0' as
an exit status for success.  This is incorrect and resulted in a benign error
message displayed (see below).  As of today, all commands should return a
value defined in lib/commands/errors.h (1-5).  This results in an exit code of
0 on success, or > 0 on failure (as stated in the lvm.8 man page).

Before change:
1. Make sure no PVs are on the system
2. Run 'pvs'
  Command failed with status code 0.

After change:
<no output>
2008-06-10 20:07:04 +00:00
2008-06-06 16:37:51 +00:00
2003-02-16 22:12:28 +00:00
.
2008-04-10 18:53:36 +00:00
2008-05-19 20:06:34 +00:00
2008-05-19 20:06:34 +00:00
2004-12-21 16:24:19 +00:00
2001-12-31 16:12:40 +00:00
2002-11-18 14:04:08 +00:00
2008-05-19 20:06:34 +00:00
2004-07-03 18:20:25 +00:00
2008-06-06 19:28:35 +00:00

This directory contains LVM2, the new version of the userland LVM
tools designed for the new device-mapper for the Linux kernel.

The device-mapper needs to be installed before compiling these LVM2 tools.

For more information about LVM2 read the WHATS_NEW file.
Installation instructions are in INSTALL.

There is no warranty - see COPYING and COPYING.LIB.

Tarballs are available from:
  ftp://sources.redhat.com/pub/lvm2/
  ftp://sources.redhat.com/pub/dm/

To access the CVS tree use:
  cvs -d :pserver:cvs@sources.redhat.com:/cvs/lvm2 login
  CVS password: cvs
  cvs -d :pserver:cvs@sources.redhat.com:/cvs/lvm2 co LVM2

Mailing list for discussion/bug reports etc.
  linux-lvm@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm

Description
LVM2 mirror repository
https://sourceware.org/lvm2/
Readme 54 MiB
Languages
C 75.5%
Shell 18.7%
Python 2.9%
M4 1%
Makefile 0.8%
Other 1%