Skip to content

Commit d66225e

Browse files
author
David Scott
committed
xenvm lvdisplay: use the same formatting as regular LVM
In particular, regular LVM does not print ":" between keys and values. Fixes #99 Signed-off-by: David Scott <[email protected]>
1 parent 7232a71 commit d66225e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xenvm/lvdisplay.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ let print_verbose vg lv =
4242
Printf.sprintf "LV Size %Lds" size;
4343
Printf.sprintf "Current LE %Ld" (Lvm.Lv.size_in_extents lv);
4444
Printf.sprintf "Segments %d" (List.length lv.Lvm.Lv.segments);
45-
Printf.sprintf "Allocation: inherit";
46-
Printf.sprintf "Read ahead sectors: auto";
45+
Printf.sprintf "Allocation inherit";
46+
Printf.sprintf "Read ahead sectors auto";
4747
(*
4848
- currently set to 256
4949
*)
5050
] @ (match device with
51-
| Some device -> [ Printf.sprintf "Block device: %s" device ]
51+
| Some device -> [ Printf.sprintf "Block device %s" device ]
5252
| None -> []) @ [
5353
"";
5454
] in

0 commit comments

Comments
 (0)