Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isDeviceOpened (0.09 sec)

  1. pkg/volume/util/operationexecutor/operation_generator.go

    		}
    		err = storagehelpers.CheckNodeAffinity(pv, nodeLabels)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // isDeviceOpened checks the device status if the device is in use anywhere else on the system
    func isDeviceOpened(deviceToDetach AttachedVolume, hostUtil hostutil.HostUtils) (bool, error) {
    	isDevicePath, devicePathErr := hostUtil.PathIsDevice(deviceToDetach.DevicePath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
Back to top