コード例 #1
0
ファイル: handler.py プロジェクト: tuan-hoang1/anaconda
    def find_mountable_partitions(self):
        """Find all mountable partitions.

        :return: a list of device names
        """
        devices = find_mountable_partitions(self.storage.devicetree)
        return [d.name for d in devices]
コード例 #2
0
ファイル: handler.py プロジェクト: rvykydal/anaconda
    def find_mountable_partitions(self):
        """Find all mountable partitions.

        :return: a list of device names
        """
        devices = find_mountable_partitions(self.storage.devicetree)
        return [d.name for d in devices]
コード例 #3
0
ファイル: image.py プロジェクト: skycastlelily2/anaconda
def find_potential_hdiso_sources(storage):
    """Find potential HDISO sources.

    Return a generator yielding Device instances that may have HDISO install
    media somewhere. Candidate devices are simply any that we can mount.

    :param storage: an instance of Blivet's storage
    :return: a list of devices
    """
    return find_mountable_partitions(storage.devicetree)