open Diskimage_utils
open Diskimage_lvm2_metadata
-let plugin_name = "LVM2"
+let plugin_id = "LVM2"
let sector_size = 512
let sector_size64 = 512L
(*----------------------------------------------------------------------*)
(* Probe to see if it's an LVM2 PV. *)
-let rec probe_pv lvm_plugin_id dev =
+let rec probe lvm_plugin_id dev =
try
let uuid, _ = read_pv_label dev in
if !debug then
* (as devices) and return them. Note that we don't try to detect
* what is on these LVs - that will be done in the main code.
*)
-let rec list_lvs devs =
+let rec list devs =
(* Read the UUID and metadata (again) from each device to end up with
* an assoc list of PVs, keyed on the UUID.
*)