code: func GetInfo(name string) (*Info, error) {
  	task, err := TaskCreateNamed(deviceInfo, name)
  	if task == nil {
  		return nil, err
  	}
  	if err := task.run(); err != nil {
  		return nil, err
  	}
  	return task.getInfo()
  }
docs: // GetInfo is the programmatic example of "dmsetup info".
  // It outputs some brief information about the device.