From 403686e85aeb1756e1b1728509484eefb35fdbeb Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 5 Sep 2019 17:51:03 -0500 Subject: script: keys: Add disk section, and sizing guide --- devel/script/2_keys.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'devel') diff --git a/devel/script/2_keys.xml b/devel/script/2_keys.xml index 1303c12..e66d752 100644 --- a/devel/script/2_keys.xml +++ b/devel/script/2_keys.xml @@ -448,4 +448,27 @@ signingkey https://packages/builder@ourcompany.net.pub +
+ Disk Partitioning Keys + This section describes the keys used for partitioning one or more hard disk drives using HorizonScript. Of these, only the mount key is required to be present in a valid HorizonScript. +
+ Sizing + + Purpose + All disk partitioning keys that take a size argument shall follow the format described in this section. There are three forms of valid size that may be specified. + + + Format #1: Block Size + Block sizing format is: number{K|M|G|T}. K, M, G, and T represent IEC binary prefixes; for example, "150G" would specify 150 GiB. + + + Format #2: Percentage + Percentage format is: number%, where number is a number from 1 to 100 inclusive. It is invalid to specify multiple partitions that would use more than 100% of a containing block device. + + + Format #3: Fill + The literal string fill specifies that the partition shall fill the remaining space of the containing block device. No partitions may come after one that specifies fill on the same containing block device. + +
+
-- cgit v1.2.3-60-g2f50