summaryrefslogtreecommitdiff
path: root/tools/pvremove.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2008-07-24 15:25:09 +0000
committerAlasdair Kergon <agk@redhat.com>2008-07-24 15:25:09 +0000
commit08c17458937448bd965d6cd39cbcc864c3cbe2d8 (patch)
treee4104655dd0f5eaae2a586715beeea49710f3c62 /tools/pvremove.c
parent06e459df4babac46d9da10fc67491f2ff16051a5 (diff)
downloadlvm2-08c17458937448bd965d6cd39cbcc864c3cbe2d8.tar.gz
reinstate lost FIXME
- only if kernel gives the info, not to be worked out in userspace - with lvm.conf option to enable/disable the check
Diffstat (limited to 'tools/pvremove.c')
-rw-r--r--tools/pvremove.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/pvremove.c b/tools/pvremove.c
index 32a11e0b5..96290424f 100644
--- a/tools/pvremove.c
+++ b/tools/pvremove.c
@@ -26,6 +26,8 @@ static int pvremove_check(struct cmd_context *cmd, const char *name)
{
struct physical_volume *pv;
+ /* FIXME Check partition type is LVM unless --force is given */
+
/* Is there a pv here already? */
/* If not, this is an error unless you used -f. */
if (!(pv = pv_read(cmd, name, NULL, NULL, 1))) {