1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00
David Teigland b7831fc14a lvcreate/lvresize: the --size option accepts signed values
There was confusion in the code about whether or not the
--size option accepted a sign.  Make it consistent and clear
that it does.

This exposes a new problem in that an option can only
accept one value type, e.g. --size can only accept a
signed number, it cannot accept a positive or negative
number for some commands and reject negative numbers for
others.

In practice, lvcreate accepts only positive --size
values and lvresize accepts positive or negative --size
values.  There is currently no way to encode this
difference.  Until that is fixed, the man page output
is hacked to avoid printing the [+|-] prefix for sizes
in lvcreate.
2017-03-02 12:53:01 -06:00
..
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2017-02-13 08:20:10 -06:00
2016-05-27 15:47:24 +02:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2017-02-13 08:20:10 -06:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2017-02-14 10:24:56 +01:00
2016-06-28 02:30:31 +01:00
2016-01-21 12:11:37 +01:00
2016-06-28 02:30:31 +01:00
2016-06-28 02:30:31 +01:00
2016-12-11 23:24:19 +01:00
2016-01-21 12:11:37 +01:00
2016-11-25 14:58:28 +01:00
2016-06-28 02:30:31 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2017-02-22 15:20:52 +01:00
2016-06-28 02:30:31 +01:00
2016-01-21 12:11:37 +01:00
2016-06-28 02:30:31 +01:00
2016-06-28 02:30:31 +01:00
2016-12-13 22:07:52 +01:00