From 3a6555b3457477011df70366f3f1213025ef09e0 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Mon, 22 Feb 2010 15:52:14 -0500 Subject: docs: storage: Document capacity/alloc 'unit' --- docs/formatstorage.html.in | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'docs/formatstorage.html.in') diff --git a/docs/formatstorage.html.in b/docs/formatstorage.html.in index 5c41c3982..6dbe0cab8 100644 --- a/docs/formatstorage.html.in +++ b/docs/formatstorage.html.in @@ -215,10 +215,18 @@ allocated at time of creation. If set to a value smaller than the capacity, the pool has the option of deciding to sparsely allocate a volume. It does not have to honour requests - for sparse allocation though. Since 0.4.1 + for sparse allocation though.
+
+ By default this is specified in bytes, but an optional + unit can be specified to adjust the passed value. + Values can be: 'K' (kilobytes), 'M' (megabytes), 'G' (gigabytes), + 'T' (terabytes), 'P' (petabytes), or 'E' (exabytes). + Since 0.4.1
capacity
Providing the logical capacity for the volume. This value is - in bytes. This is compulsory when creating a volume. + in bytes by default, but a unit attribute can be + specified with the same semantics as for allocation + This is compulsory when creating a volume. Since 0.4.1
source
Provides information about the underlying storage allocation -- cgit v1.2.3-65-gdbad