cdist-type__partition_msdos(7)


Table of Contents

1. NAME
2. DESCRIPTION
3. REQUIRED PARAMETERS
4. OPTIONAL PARAMETERS
5. EXAMPLES
6. SEE ALSO
7. COPYING

1. NAME

cdist-type__partition_msdos - creates msdos partitions

2. DESCRIPTION

This cdist type allows you to create msdos paritions.

3. REQUIRED PARAMETERS

type
the partition type used in fdisk (such as 82 or 83) or "extended"

4. OPTIONAL PARAMETERS

partition
defaults to object_id
bootable
mark partition as bootable, true or false, defaults to false
size
the size of the partition (such as 32M or 15G, whole numbers only), + for remaining space, or n% for percentage of remaining (these should only be used after all specific partition sizes are specified). Defaults to +.

5. EXAMPLES

# 128MB, linux, bootable
__partition_msdos /dev/sda1 --type 83 --size 128M --bootable true
# 512MB, swap
__partition_msdos /dev/sda2 --type 82 --size 512M
# 100GB, extended
__partition_msdos /dev/sda3 --type extended --size 100G
# 10GB, linux
__partition_msdos /dev/sda5 --type 83 --size 10G
# 50% of the free space of the extended partition, linux
__partition_msdos /dev/sda6 --type 83 --size 50%
# rest of the extended partition, linux
__partition_msdos /dev/sda7 --type 83 --size +

6. SEE ALSO

  • cdist-type(7)

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).