code: func SetDevDir(dir string) error {
  	if res := DmSetDevDir(dir); res != 1 {
  		logrus.Debug("devicemapper: Error dm_set_dev_dir")
  		return ErrSetDevDir
  	}
  	return nil
  }
docs: // SetDevDir sets the dev folder for the device mapper library (usually /dev).