summaryrefslogtreecommitdiffstats
path: root/tools/pvcreate.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2001-11-21 19:32:35 +0000
committerAlasdair Kergon <agk@redhat.com>2001-11-21 19:32:35 +0000
commit3080a754451caa789400f143f4091df89c3c5416 (patch)
treede5cd9e2627f2b20a440fec6d431d40b1640fa6b /tools/pvcreate.c
parentab2799eb1497175e3a6eb62462e3fe857a37bb65 (diff)
downloadlvm2-3080a754451caa789400f143f4091df89c3c5416.tar.gz
lvm2-3080a754451caa789400f143f4091df89c3c5416.tar.xz
lvm2-3080a754451caa789400f143f4091df89c3c5416.zip
o activation & active status tests
o lvdisplay fields from kernel o update lv->size on resize
Diffstat (limited to 'tools/pvcreate.c')
-rw-r--r--tools/pvcreate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/pvcreate.c b/tools/pvcreate.c
index 7f58cc78..7a008fd0 100644
--- a/tools/pvcreate.c
+++ b/tools/pvcreate.c
@@ -50,10 +50,12 @@ static int pvcreate_check(const char *name)
return 0;
}
+/******* Removed check
if (pv->status & ACTIVE) {
log_error("Can't create on active physical volume %s", name);
return 0;
}
+********/
/* we must have -ff to overwrite a non orphan */
if (arg_count(force_ARG) < 2) {