Browse Source

Add comments to condor and scratch sizes

Alessandro De Gennaro 4 years ago
parent
commit
ecf98e453d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      parse-arguments.sh

+ 2 - 0
parse-arguments.sh

@@ -52,7 +52,9 @@ default()
 	VM_SIZE=$(to_sectors 100G)
 	SWAP_SIZE=$(( $RAM_SIZE + $(to_sectors 1G) ))
 	FREE_SIZE=$(( $DEVICE_SIZE - $VM_SIZE - $SWAP_SIZE ))
+	## Condor partition is 40% of remaining space
 	CONDOR_SIZE=$(( $FREE_SIZE  * 4 / 10 ))
+	## Scratch partition is 60% of remaining space
 	TEMP_SIZE=$(( $FREE_SIZE  * 6 / 10 ))
 }