- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DetachFileDevice (0.26 sec)
-
pkg/volume/util/volumepathhandler/volume_path_handler_unsupported.go
return "", fmt.Errorf("AttachFileDevice not supported for this build.") } // DetachFileDevice takes a path to the attached block device and // detach it from block device. func (v VolumePathHandler) DetachFileDevice(path string) error { return fmt.Errorf("DetachFileDevice not supported for this build.") } // GetLoopDevice returns the full path to the loop device associated with the given path.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1.7K bytes - Viewed (0) -
pkg/volume/util/volumepathhandler/volume_path_handler_linux.go
if err != nil { return "", fmt.Errorf("makeLoopDevice failed for path %s: %v", path, err) } } return blockDevicePath, nil } // DetachFileDevice takes a path to the attached block device and // detach it from block device. func (v VolumePathHandler) DetachFileDevice(path string) error { loopPath, err := v.GetLoopDevice(path) if err != nil { if err.Error() == ErrDeviceNotFound {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 7.6K bytes - Viewed (0)