code: func (kl *Kubelet) getPodVolumePathListFromDisk(podUID types.UID) ([]string, error) {
  	volumes := []string{}
  	podVolDir := kl.getPodVolumesDir(podUID)
  
  	if pathExists, pathErr := mount.PathExists(podVolDir); pathErr != nil {
  		return volumes, fmt.Errorf("Error checking if path %q exists: %v", podVolDir, pathErr)
  	} else if !pathExists {
  		klog.Warningf("Path %q does not exist", podVolDir)
  		return volumes, nil
  	}
  
  	volumePluginDirs, err := ioutil.ReadDir(podVolDir)
  	if err != nil {
  		klog.Errorf("Could not read directory %s: %v", podVolDir, err)
  		return volumes, err
  	}
  	for _, volumePluginDir := range volumePluginDirs {
  		volumePluginName := volumePluginDir.Name()
  		volumePluginPath := filepath.Join(podVolDir, volumePluginName)
  		volumeDirs, err := utilpath.ReadDirNoStat(volumePluginPath)
  		if err != nil {
  			return volumes, fmt.Errorf("Could not read directory %s: %v", volumePluginPath, err)
  		}
  		for _, volumeDir := range volumeDirs {
  			volumes = append(volumes, filepath.Join(volumePluginPath, volumeDir))
  		}
  	}
  	return volumes, nil
  }
docs: // getPodVolumePathListFromDisk returns a list of the volume paths by reading the
  // volume directories for the given pod from the disk.