def METHOD_NAME(self, dev_path):
    """
    Get ndctl information about the given device.
    Returns dictionary associated with device.
    """
    dev = None
    # Possible viable device types as shown with
    # 'ndctl list' output
    devtypes = ('blockdev', 'chardev')
    list = self._cmd_out_to_json('list')
    for d in list:
        for dt in devtypes:
            if dt in d and os.path.join('/dev', d[dt]) == dev_path:
                dev = d
    if not dev:
        raise futils.Fail('ndctl does not recognize the device: "{}"'
                          .format(dev_path))
    return dev