propellor-4.7.5: property-based host configuration management in haskell

Safe HaskellNone
LanguageHaskell98

Propellor.Property.DiskImage.PartSpec

Description

Disk image partition specification and combinators.

Synopsis

Documentation

addFreeSpace :: PartSpec t -> PartSize -> PartSpec t Source #

Adds additional free space to the partition.

fudge :: PartSize -> PartSize Source #

Add 2% for filesystem overhead. Rationalle for picking 2%: A filesystem with 1% overhead might just sneak by as acceptable. Double that just in case. Add an additional 3 mb to deal with non-scaling overhead of filesystems (eg, superblocks). Add an additional 200 mb for temp files, journals, etc.