Ejemplo n.º 1
0
    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]
Ejemplo n.º 2
0
    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]
Ejemplo n.º 3
0
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)