Displaying 1 result from an estimated 1 matches for "vhd_util_cr".
2013 Nov 21
9
[PATCH] vhd-util create: add -C|nocow option
...ctx.file = strdup(name);
if (!ctx.file) {
err = -ENOMEM;
diff --git a/tools/blktap2/vhd/lib/vhd-util-create.c b/tools/blktap2/vhd/lib/vhd-util-create.c
index a9bdf05..be632f8 100644
--- a/tools/blktap2/vhd/lib/vhd-util-create.c
+++ b/tools/blktap2/vhd/lib/vhd-util-create.c
@@ -49,7 +49,7 @@ vhd_util_create(int argc, char **argv)
goto usage;
optind = 0;
- while ((c = getopt(argc, argv, "n:s:rh")) != -1) {
+ while ((c = getopt(argc, argv, "n:s:rCh")) != -1) {
switch (c) {
case ''n'':
name = optarg;
@@ -61,6 +61,10 @@ vhd_util_create(int argc, cha...