func getFakeDeviceName(host volume.VolumeHost, volPath string) string { return path.Join(host.GetPluginDir(vsphereVolumePluginName), "device", volPath) }
// make a directory like /var/lib/kubelet/plugins/kubernetes.io/pod/rbd/pool-image-image func makePDNameInternal(host volume.VolumeHost, pool string, image string) string { return path.Join(host.GetPluginDir(rbdPluginName), "rbd", pool+"-image-"+image) }
func makeGlobalPDName(host volume.VolumeHost, devName string) string { return path.Join(host.GetPluginDir(gcePersistentDiskPluginName), "mounts", devName) }