forked from ungleich-public/cdist
		
	rename __cinst_partition_msdos __partition_msdos
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								0d6171c69b
							
						
					
				
			
			
				commit
				
					
						b6738aaf60
					
				
			
		
					 5 changed files with 14 additions and 13 deletions
				
			
		| 
						 | 
					@ -1,11 +1,11 @@
 | 
				
			||||||
cdist-type__cinst_partition_msdos(7)
 | 
					cdist-type__partition_msdos(7)
 | 
				
			||||||
====================================
 | 
					==============================
 | 
				
			||||||
Steven Armstrong <steven-cdist--@--armstrong.cc>
 | 
					Steven Armstrong <steven-cdist--@--armstrong.cc>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
NAME
 | 
					NAME
 | 
				
			||||||
----
 | 
					----
 | 
				
			||||||
cdist-type__cinst_partition_msdos - creates msdos partitions
 | 
					cdist-type__partition_msdos - creates msdos partitions
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
DESCRIPTION
 | 
					DESCRIPTION
 | 
				
			||||||
| 
						 | 
					@ -24,13 +24,12 @@ OPTIONAL PARAMETERS
 | 
				
			||||||
device::
 | 
					device::
 | 
				
			||||||
   defaults to object_id
 | 
					   defaults to object_id
 | 
				
			||||||
bootable::
 | 
					bootable::
 | 
				
			||||||
   mark partition as bootable, true or false
 | 
					   mark partition as bootable, true or false, defaults to false
 | 
				
			||||||
size::
 | 
					size::
 | 
				
			||||||
   the size of the partition (such as 32MB or 15GB, whole numbers
 | 
					   the size of the partition (such as 32M or 15G, whole numbers
 | 
				
			||||||
   only), '+' for remaining space, or 'n%' for percentage of remaining
 | 
					   only), '+' for remaining space, or 'n%' for percentage of remaining
 | 
				
			||||||
   (these should only be used after all specific partition sizes are
 | 
					   (these should only be used after all specific partition sizes are
 | 
				
			||||||
   specified), leave blank if type is "extended".
 | 
					   specified). Defaults to +.
 | 
				
			||||||
   Defaults to +.
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
EXAMPLES
 | 
					EXAMPLES
 | 
				
			||||||
| 
						 | 
					@ -38,17 +37,19 @@ EXAMPLES
 | 
				
			||||||
 | 
					
 | 
				
			||||||
--------------------------------------------------------------------------------
 | 
					--------------------------------------------------------------------------------
 | 
				
			||||||
# 128MB linux, bootable
 | 
					# 128MB linux, bootable
 | 
				
			||||||
__cinst_partition_msdos /dev/sda1 --type 83 --size 128M --bootable true
 | 
					__partition_msdos /dev/sda1 --type 83 --size 128M --bootable true
 | 
				
			||||||
# 512MB swap
 | 
					# 512MB swap
 | 
				
			||||||
__cinst_partition_msdos /dev/sda2 --type 82 --size 512M
 | 
					__partition_msdos /dev/sda2 --type 82 --size 512M
 | 
				
			||||||
# extended
 | 
					# extended
 | 
				
			||||||
__cinst_partition_msdos /dev/sda3 --type extended
 | 
					__partition_msdos /dev/sda3 --type extended --size 100G
 | 
				
			||||||
# 10GB, linux
 | 
					# 10GB, linux
 | 
				
			||||||
__cinst_partition_msdos /dev/sda5 --type 82 --size 10G
 | 
					__partition_msdos /dev/sda5 --type 83 --size 10G
 | 
				
			||||||
 | 
					# 50% of free space, linux
 | 
				
			||||||
 | 
					__partition_msdos /dev/sda6 --type 83 --size 50%
 | 
				
			||||||
# rest of disk, linux
 | 
					# rest of disk, linux
 | 
				
			||||||
__cinst_partition_msdos /dev/sda6 --type 82 --size +
 | 
					__partition_msdos /dev/sda7 --type 83 --size +
 | 
				
			||||||
# same thing as
 | 
					# same thing as
 | 
				
			||||||
__cinst_partition_msdos /dev/sda6 --type 82
 | 
					__partition_msdos /dev/sda7 --type 83
 | 
				
			||||||
--------------------------------------------------------------------------------
 | 
					--------------------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue