code: func parseFindMnt(out string) (string, error) {
  	// cut trailing newline
  	out = strings.TrimSuffix(out, "\n")
  	// cut everything after the last space - it's the filesystem type
  	i := strings.LastIndex(out, " ")
  	if i == -1 {
  		return "", fmt.Errorf("error parsing findmnt output, expected at least one space: %q", out)
  	}
  	return out[:i], nil
  }
docs: // parse output of "findmnt -o target,fstype" and return just the target