def METHOD_NAME():
    geom = salt.utils.path.which("geom")
    ret = {"disks": {}, "ssds": []}
    devices = __salt__["cmd.run"]("{} disk list".format(geom))
    devices = devices.split("\n\n")
    def parse_geom_attribs(device):
        tmp = {}
        for line in device.split("\n"):
            for attrib in _geom_attribs:
                search = re.search(r"{}:\s(.*)".format(attrib), line)
                if search:
                    value = _datavalue(
                        _geomconsts._datatypes.get(attrib), search.group(1)
                    )
                    tmp[attrib] = value
                    if attrib in _geomconsts._aliases:
                        tmp[_geomconsts._aliases[attrib]] = value
        name = tmp.pop(_geomconsts.GEOMNAME)
        if name.startswith("cd"):
            return
        ret["disks"][name] = tmp
        if tmp.get(_geomconsts.ROTATIONRATE) == 0:
            log.trace("Device %s reports itself as an SSD", device)
            ret["ssds"].append(name)
    for device in devices:
        parse_geom_attribs(device)
    return ret