[rhinstaller/blivet/pulls/114 master] Use COW device to get actual size of LVM snapshots
vpodzime
installerbot-noreply at redhat.com
Thu May 14 06:59:48 UTC 2015
> @@ -226,6 +226,18 @@ def get_sysfs_path_by_name(dev_node, class_name="block"):
> raise RuntimeError("get_sysfs_path_by_name: Could not find sysfs path "
> "for '%s' (it is not at '%s')" % (dev_node, dev_path))
>
> +def get_cow_sysfs_path(dev_path, dev_sysfsPath):
> + """ Return sysfs path of cow device for a given lvm snapshot.
*"for a given device"* would be better as it is more generic (as this function potentially is) and doesn't create a confusion by *"lvm snapshot"* suddenly appearing here for no obvious reason.
--
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/114#discussion_r30301526
More information about the anaconda-patches
mailing list