trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Sorber <sor...@apache.org>
Subject Re: git commit: Docs: Fix formatting for KMGT-bytes
Date Fri, 06 Sep 2013 14:42:36 GMT
On Fri, Sep 6, 2013 at 8:35 AM, <zwoop@apache.org> wrote:

> Updated Branches:
>   refs/heads/master 57fcef17e -> 9cc51385e
>
>
> Docs: Fix formatting for KMGT-bytes
>
>
> Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
> Commit:
> http://git-wip-us.apache.org/repos/asf/trafficserver/commit/9cc51385
> Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/9cc51385
> Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/9cc51385
>
> Branch: refs/heads/master
> Commit: 9cc51385e2e6d8899da003792106f415fb723836
> Parents: 57fcef1
> Author: Leif Hedstrom <zwoop@apache.org>
> Authored: Fri Sep 6 08:35:00 2013 -0600
> Committer: Leif Hedstrom <zwoop@apache.org>
> Committed: Fri Sep 6 08:35:04 2013 -0600
>
> ----------------------------------------------------------------------
>  doc/reference/configuration/records.config.en.rst | 10 +++++-----
>  doc/reference/configuration/storage.config.en.rst | 10 +++++-----
>  2 files changed, 10 insertions(+), 10 deletions(-)
> ----------------------------------------------------------------------
>
>
>
> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/9cc51385/doc/reference/configuration/records.config.en.rst
> ----------------------------------------------------------------------
> diff --git a/doc/reference/configuration/records.config.en.rst
> b/doc/reference/configuration/records.config.en.rst
> index ae0c2d2..e3ecfae 100644
> --- a/doc/reference/configuration/records.config.en.rst
> +++ b/doc/reference/configuration/records.config.en.rst
> @@ -55,12 +55,12 @@ A variable marked as ``Reloadable`` can be updated via
> the command::
>  ``INT`` type configurations are expressed as any normal integer,
>  e.g. *32768*. They can also be expressed using more human readable values
>  using standard prefixes, e.g. *32K*. The following prefixes are supported
> -for all ``INT` type configurations ::
> +for all ``INT` type configurations
>
> -   -  ``K`` Kilobytes (1024 bytes)
> -   -  ``M`` Megabytes (1,048,576 bytes)
> -   -  ``G`` Gigabytes (1,073,741,824 bytes
> -   -  ``T`` Terabytes (1,099,511,627,776 bytes)
> +   - ``K`` Kilobytes (1024 bytes)
> +   - ``M`` Megabytes (1024^2 or 1,048,576 bytes)
> +   - ``G`` Gigabytes (1024^3 or 1,073,741,824 bytes
> +   - ``T`` Terabytes (1024^4 or 1,099,511,627,776 bytes)
>
>  .. note::
>
>
>
> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/9cc51385/doc/reference/configuration/storage.config.en.rst
> ----------------------------------------------------------------------
> diff --git a/doc/reference/configuration/storage.config.en.rst
> b/doc/reference/configuration/storage.config.en.rst
> index 14d811e..3aa2fb3 100644
> --- a/doc/reference/configuration/storage.config.en.rst
> +++ b/doc/reference/configuration/storage.config.en.rst
> @@ -59,12 +59,12 @@ operating systems have stronger requirements - see the
> following examples for
>  more information.
>
>  As with standard ``records.config`` integers, human readable prefixes are
> also
> -supported. They include::
> +supported. They include
>
> -   -  ``K`` Kilobytes (1024 bytes)
> -   -  ``M`` Megabytes (1,048,576 bytes)
> -   -  ``G`` Gigabytes (1,073,741,824 bytes
> -   -  ``T`` Terabytes (1,099,511,627,776 bytes)
> +   - ``K`` Kilobytes (1024 bytes)
> +   - ``M`` Megabytes (1024^2 or 1,048,576 bytes)
> +   - ``G`` Gigabytes (1024^3 or 1,073,741,824 bytes
> +   - ``T`` Terabytes (1024^4 or 1,099,511,627,776 bytes)
>
>
>  Examples
>
>
Why not use the binary prefixes, for example kibibytes?

http://en.wikipedia.org/wiki/Kibibyte

Mime
View raw message