[rhinstaller/blivet/pulls/195 master] Allow aligning free regions to disk grainSize (#1244671)
bcl
installerbot-noreply at redhat.com
Wed Aug 5 18:51:54 UTC 2015
> @@ -424,11 +424,13 @@ def addPartition(disklabel, free, part_type, size, start=None, end=None):
> constraint=constraint)
> return partition
>
> -def getFreeRegions(disks):
> +def getFreeRegions(disks, align=False):
> """ Return a list of free regions on the specified disks.
>
> :param disks: list of disks
> :type disks: list of :class:`~.devices.Disk`
> + :param align: align the region lenght to disk grainSize
"region length"
--
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/195#discussion_r36339614
More information about the anaconda-patches
mailing list