You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2013/09/06 16:35:09 UTC

git commit: Docs: Fix formatting for KMGT-bytes

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 <zw...@apache.org>
Authored: Fri Sep 6 08:35:00 2013 -0600
Committer: Leif Hedstrom <zw...@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


Re: git commit: Docs: Fix formatting for KMGT-bytes

Posted by Phil Sorber <so...@apache.org>.
On Fri, Sep 6, 2013 at 8:35 AM, <zw...@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 <zw...@apache.org>
> Authored: Fri Sep 6 08:35:00 2013 -0600
> Committer: Leif Hedstrom <zw...@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

Re: git commit: Docs: Fix formatting for KMGT-bytes

Posted by Phil Sorber <so...@apache.org>.
On Fri, Sep 6, 2013 at 8:35 AM, <zw...@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 <zw...@apache.org>
> Authored: Fri Sep 6 08:35:00 2013 -0600
> Committer: Leif Hedstrom <zw...@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