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

[lvm-devel] [RFC][PATCH] 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.

>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).

-- 
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

Attachment: lvm-units.patch.gz
Description: application/gzip


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