still doing some work but checking in what i have so far
This commit is contained in:
@@ -205,7 +205,7 @@ The `/aif/storage/disk` element holds information about disks on the system, and
|
||||
|======================
|
||||
^|Attribute ^|Value
|
||||
^m|device |The disk to format (e.g. `/dev/sda`)
|
||||
^m|diskfmt |https://en.wikipedia.org/wiki/GUID_Partition_Table[`gpt`^] or https://en.wikipedia.org/wiki/Master_boot_record[`bios`^]
|
||||
^m|diskfmt |https://en.wikipedia.org/wiki/GUID_Partition_Table[`gpt`^] or https://en.wikipedia.org/wiki/Master_boot_record[`msdos`^]
|
||||
|======================
|
||||
|
||||
===== `<part>`
|
||||
@@ -223,10 +223,11 @@ The `/aif/storage/disk/part` element holds information on partitioning that it's
|
||||
[[specialsize]]
|
||||
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.)
|
||||
** Accepts *K* (Kilobytes), *M* (Megabytes), *G* (Gigabytes), *T* (Terabytes), or *P* (Petabytes -- I know, I know.)
|
||||
** Can also accept modifiers for this form (`"+500G"`, `"-400M"`)
|
||||
* A percentage of the total disk size, indicated by a percentage sign (`"10%"`)
|
||||
* A size, indicated by the abbreviation (`"300KiB"`, `"10GB"`, etc.)
|
||||
** Accepts notation in https://en.wikipedia.org/wiki/Binary_prefix[SI or IEC formats^]
|
||||
* A raw sector size, if no suffix is provided (sector sizes are *typically* 512 bytes but this can vary depending on disk) (`1024`)
|
||||
* One can also specify modifiers (`"+10%"`, `"-400MB"`, etc.). A positive modifier indicates from the beginning of the *start of the disk* and a negative modifier specifies from the *end of the disk* (the default, if none is specified, is to use the _previously defined partition's end_ as the *start* for the new partition, or to use the _beginning of the usable disk space_ as the *start* if no previous partition is specified, and to *add* the size to the *start* until the *stop* is reached)
|
||||
|
||||
[[fstypes]]
|
||||
NOTE: The following is a table for your reference of partition types. Note that it may be out of date, so reference the link above for the most up-to-date table.
|
||||
|
||||
Reference in New Issue
Block a user