diff --git a/plugins/device/cmd/example/device.go b/plugins/device/cmd/example/device.go
index cccc1de2ca0ed9bf6f0ed401ae299c8502254cc3..e85cf66a81b849e91e7a633cc5201b5789d7114b 100644
--- a/plugins/device/cmd/example/device.go
+++ b/plugins/device/cmd/example/device.go
@@ -265,10 +265,10 @@ func (d *FsDevice) Reserve(deviceIDs []string) (*device.ContainerReservation, er
 		}
 
 		// Add a mount
-		resp.Devices = append(resp.Devices, &device.DeviceSpec{
-			TaskPath:    fmt.Sprintf("/dev/%s", id),
-			HostPath:    filepath.Join(d.deviceDir, id),
-			CgroupPerms: "rw",
+		resp.Mounts = append(resp.Mounts, &device.Mount{
+			TaskPath: fmt.Sprintf("/tmp/device-mounts/%s", id),
+			HostPath: filepath.Join(d.deviceDir, id),
+			ReadOnly: false,
 		})
 	}