(deviceid)
calls diskutil info for a specific device id.

  Args:
    deviceid: a given device id for a disk like object
  Returns:
    info: dictionary from resulting plist output
  Raises:
    MacDiskError: deviceid is invalid
calls diskutil info for a specific device id.
calls diskutil info for a specific device id .
def _DictFromDiskutilInfo(deviceid):
  """calls diskutil info for a specific device id.

  Args:
    deviceid: a given device id for a disk like object
  Returns:
    info: dictionary from resulting plist output
  Raises:
    MacDiskError: deviceid is invalid
  """
  # Do we want to do this? can trigger optical drive noises...
  if deviceid not in PartitionDeviceIds():
    raise MacDiskError("%s is not a valid disk id" % deviceid)
  else:
    command = ["/usr/sbin/diskutil", "info", "-plist", deviceid]
    return _DictFromSubprocess(command)
def _DictFromDiskutilInfo ( deviceid ) : # Do we want to do this? can trigger optical drive noises... if deviceid not in PartitionDeviceIds ( ) : raise MacDiskError ( "%s is not a valid disk id" % deviceid ) else : command = [ "/usr/sbin/diskutil" , "info" , "-plist" , deviceid ] return _DictFromSubprocess ( command )