changing size attrib to stop
This commit is contained in:
@@ -217,12 +217,12 @@ The `/aif/storage/disk/part` element holds information on partitioning that it's
|
||||
^|Attribute ^|Value
|
||||
^m|num |The partition number (positive integer)
|
||||
^m|start |The amount of the *total disk size* to _start_ the partition at (see <<specialsize, below>>)
|
||||
^m|size |The amount of the *total disk size* to _end_ the partition at (see <<specialsize, below>>)
|
||||
^m|stop |The amount of the *total disk size* to _end_ the partition at (see <<specialsize, below>>)
|
||||
^m|fstype |The partition type. Must be in http://www.rodsbooks.com/gdisk/cgdisk-walkthrough.html[gdisk format^] (see <<fstypes, below>>)
|
||||
|======================
|
||||
|
||||
[[specialsize]]
|
||||
The `start` and `size` attributes can be in the form of:
|
||||
The `start` and `stop` attributes can be in the form of:
|
||||
|
||||
* A percentage, indicated by a percentage sign (`"10%"`)
|
||||
* A size, indicated by the abbreviation (`"300K"`, `"30G"`, etc.)
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
xsi:schemaLocation="http://aif.square-r00t.net aif.xsd">
|
||||
<storage>
|
||||
<disk device="/dev/sda" diskfmt="gpt">
|
||||
<part num="1" start="0%" size="10%" fstype="ef00" />
|
||||
<part num="2" start="10%" size="100%" fstype="8300" />
|
||||
<part num="1" start="0%" stop="10%" fstype="ef00" />
|
||||
<part num="2" start="10%" stop="100%" fstype="8300" />
|
||||
</disk>
|
||||
<mount source="/dev/sda2" target="/mnt/aif" order="1" />
|
||||
<mount source="/dev/sda1" target="/mnt/aif/boot" order="2" />
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
xsi:schemaLocation="https://aif.square-r00t.net aif.xsd">
|
||||
<storage>
|
||||
<disk device="/dev/sda" diskfmt="gpt">
|
||||
<part num="1" start="0%" size="10%" fstype="ef00" />
|
||||
<part num="2" start="10%" size="80%" fstype="8300" />
|
||||
<part num="3" start="80%" size="100%" fstype="8200" />
|
||||
<part num="1" start="0%" stop="10%" fstype="ef00" />
|
||||
<part num="2" start="10%" stop="80%" fstype="8300" />
|
||||
<part num="3" start="80%" stop="100%" fstype="8200" />
|
||||
</disk>
|
||||
<mount source="/dev/sda2" target="/mnt/aif" order="1" />
|
||||
<mount source="/dev/sda1" target="/mnt/aif/boot" order="2" />
|
||||
|
||||
Reference in New Issue
Block a user