diff --git a/components/engine/devmapper/deviceset.go b/components/engine/devmapper/deviceset.go index 26594c54dc..0717722e87 100644 --- a/components/engine/devmapper/deviceset.go +++ b/components/engine/devmapper/deviceset.go @@ -388,7 +388,7 @@ func (devices *DeviceSet) initDevmapper() error { // - Managed by docker // - The target of this device is at major and minor // - If is defined, use that file inside the device as a loopback image. Otherwise use the device itself. - devices.devicePrefix = fmt.Sprintf("docker-%d,%d-%d", major(sysSt.Dev), minor(sysSt.Dev), sysSt.Ino) + devices.devicePrefix = fmt.Sprintf("docker-%d:%d-%d", major(sysSt.Dev), minor(sysSt.Dev), sysSt.Ino) utils.Debugf("Generated prefix: %s", devices.devicePrefix) // Check for the existence of the device -pool