[linux-lvm] lvcreate does not respect units?

Thomas Voegtle tv at lio96.de
Mon Dec 14 16:21:31 UTC 2009


On Mon, 14 Dec 2009, Alasdair G Kergon wrote:

> On Mon, Dec 14, 2009 at 03:28:24PM +0100, Thomas Voegtle wrote:
>> Why is it possible to use vgdisplay with units power of 1000, if you
>> cant use lvcreate with that kind of units?
>> The lvcreate man page says:
>>      -L, --size LogicalVolumeSize[bBsSkKmMgGtTpPeE]
>
> For input, it ignores case.
>
> I've not felt particularly happy about changing that as it could change the
> behaviour of existing scripts, and typically, people pay little attention
> to the case of units when they are typing.

Ah, ok, I agree.


> But should we change this in time for RHEL6?
>
> Any more opinions?


Why don't you just do something like si_unit_consistency again, but this 
time for input? Or something similiar?




More information about the linux-lvm mailing list