Re: lvcreate does not respect units?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux