()
return attached_images
info about attached images.

  Returns:
    attached_images: a list of dictionaries of attached Image objects and
                     corresponding Disk objects.
info about attached images.
info about attached images .
def AttachedImages():
  """info about attached images.

  Returns:
    attached_images: a list of dictionaries of attached Image objects and
                     corresponding Disk objects.
  """
  attached_images = []
  images = _DictFromHdiutilInfo()["images"]
  for image in images:
    attached_image = {}
    attached_image["image"] = Image(image["image-path"])
    attached_image["disks"] = []
    for entity in image["system-entities"]:
      if "dev-entry" in entity:
        attached_image["disks"].append(Disk(entity["dev-entry"]))
    attached_images.append(attached_image)
  return attached_images
def AttachedImages ( ) : attached_images = [ ] images = _DictFromHdiutilInfo ( ) [ "images" ] for image in images : attached_image = { } attached_image [ "image" ] = Image ( image [ "image-path" ] ) attached_image [ "disks" ] = [ ] for entity in image [ "system-entities" ] : if "dev-entry" in entity : attached_image [ "disks" ] . append ( Disk ( entity [ "dev-entry" ] ) ) attached_images . append ( attached_image ) return attached_images