Skip to contentSkip to conversation

S.I. and consistent units

RFC PATCH New Daniel Mierswa 1 participant 4 messages Jul 12, 2009 – Aug 23, 2009

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 S.I. and consistent units

A proposed git format-patch for unit consistency in current LVM2. agk already answered on linux-lvm but I just now saw that you're supposed to post patches on lvm-devel so I do it here.

Quoted 1 line

From my last mail to linux-lvm:

The functional changes are as follows:
- Users and programs currently checking the output of LVM have to distinguish between either IEC or SI units. Currently LVM prints K, KB and Kilobyte for SI and IEC units depending on what they passed in --units. With the patch applied LVM prints K, KB and Kilobyte for SI units and k, KiB and Kibibyte for IEC units.
- Users and programs currently passing LVM the uppercase size suffixes are now telling LVM to treat that value as SI unit whereas now LVM treats lower and uppercase suffixes as IEC (binary based unit).

Signature · 12 lines
Mierswa, Daniel

If you still don't like it, that's ok: that's why I'm boss. I simply
know better than you do.
               --- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm-units.patch.gz
Type: application/gzip
Size: 17407 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20090713/74b95679/attachment.gz>
#1 lore raw

RFC PATCH 1/1 S.I. and consistent units

Patch against bc6772282f36883e39217cb0b021658a561b799d

Signature · 12 lines
Mierswa, Daniel

If you still don't like it, that's ok: that's why I'm boss. I simply
know better than you do.
               --- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm-units2.patch.gz
Type: application/gzip
Size: 17800 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20090713/3c429055/attachment.gz>
#2 lore raw

RFC PATCH 1/1 S.I. and consistent units

In reply to Daniel Mierswa

Patch against afc5de69d44d4028c551d0d04d36fe69b9c63dc9.

Anyone still alive in this thread?

Signature · 11 lines
Mierswa, Daniel

If you still don't like it, that's ok: that's why I'm boss. I simply know better than you do.
               --- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm-units3.patch.gz
Type: application/gzip
Size: 17904 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20090802/2c787123/attachment.gz>
#3 lore raw

RFC PATCH 1/1 S.I. and consistent units

Patch against 0f07768d6b5a1d0af6122e03aff4c7aecdf8d69f

Developer input is still welcome.

Signature · 12 lines
Mierswa, Daniel

If you still don't like it, that's ok: that's why I'm boss. I simply
know better than you do.
               --- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-attempt-to-make-unit-factor-and-type-consistent.patch.gz
Type: application/gzip
Size: 19536 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20090823/feaee24c/attachment.gz>