Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for generateBlockDeviceBaseGlobalPath (0.79 sec)

  1. pkg/volume/local/local.go

    	mounter := plugin.host.GetMounter(plugin.GetPluginName())
    	refs, err := mounter.GetMountRefs(mountPath)
    	if err != nil {
    		return volume.ReconstructedVolume{}, err
    	}
    	baseMountPath := plugin.generateBlockDeviceBaseGlobalPath()
    	for _, ref := range refs {
    		if mount.PathWithinBase(ref, baseMountPath) {
    			// If the global mount for block device exists, the source is block
    			// device.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top