Re: [PATCH] lib: add size unit t/p/e to memparse

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

 



On 31/03/14 12:03, Gui Hecheng wrote:
- *	potentially suffixed with %K (for kilobytes, or 1024 bytes),
- *	%M (for megabytes, or 1048576 bytes), or %G (for gigabytes, or
- *	1073741824).  If the number is suffixed with K, M, or G, then
+ *	potentially suffixed with
+ *	%K (for kilobytes, or 1024 bytes),
+ *	%M (for megabytes, or 1048576 bytes),
+ *	%G (for gigabytes, or 1073741824),
+ *	%T (for terabytes, or 1099511627776),
+ *	%P (for petabytes, or 1125899906842624 bytes),
+ *	%E (for exabytes, or 1152921504606846976 bytes).

My apologies, I should have noticed this in your earlier mail. This could be updated to specifically refer to the "bi"nary prefixes rather than the old SI-conflicting names:
kibibyte, mebibyte, gibibyte, tebibyte, pebibyte, and exbibyte

--
__________
Brendan Hide
http://swiftspirit.co.za/
http://www.webafrica.co.za/?AFF1E97

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux