0d6171c69b
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
63 lines
1.6 KiB
Text
63 lines
1.6 KiB
Text
cdist-type__cinst_partition_msdos(7)
|
|
====================================
|
|
Steven Armstrong <steven-cdist--@--armstrong.cc>
|
|
|
|
|
|
NAME
|
|
----
|
|
cdist-type__cinst_partition_msdos - creates msdos partitions
|
|
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
This cdist type allows you to create msdos paritions.
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
-------------------
|
|
type::
|
|
the partition type used in fdisk (such as 82 or 83) or "extended"
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
-------------------
|
|
device::
|
|
defaults to object_id
|
|
bootable::
|
|
mark partition as bootable, true or false
|
|
size::
|
|
the size of the partition (such as 32MB or 15GB, whole numbers
|
|
only), '+' for remaining space, or 'n%' for percentage of remaining
|
|
(these should only be used after all specific partition sizes are
|
|
specified), leave blank if type is "extended".
|
|
Defaults to +.
|
|
|
|
|
|
EXAMPLES
|
|
--------
|
|
|
|
--------------------------------------------------------------------------------
|
|
# 128MB linux, bootable
|
|
__cinst_partition_msdos /dev/sda1 --type 83 --size 128M --bootable true
|
|
# 512MB swap
|
|
__cinst_partition_msdos /dev/sda2 --type 82 --size 512M
|
|
# extended
|
|
__cinst_partition_msdos /dev/sda3 --type extended
|
|
# 10GB, linux
|
|
__cinst_partition_msdos /dev/sda5 --type 82 --size 10G
|
|
# rest of disk, linux
|
|
__cinst_partition_msdos /dev/sda6 --type 82 --size +
|
|
# same thing as
|
|
__cinst_partition_msdos /dev/sda6 --type 82
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
SEE ALSO
|
|
--------
|
|
- cdist-type(7)
|
|
|
|
|
|
COPYING
|
|
-------
|
|
Copyright \(C) 2011 Steven Armstrong. Free use of this software is
|
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|