summaryrefslogtreecommitdiffstats
path: root/lvm.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-12-04 04:25:27 +0000
committerJeremy Katz <katzj@redhat.com>2003-12-04 04:25:27 +0000
commit2526df1efb056bcf5845a36d0aef41b394a48561 (patch)
treed0e55787574f719a949197268f42696473a418c3 /lvm.py
parent512b85d753b1f3c3ca5caed3f9b8564c188308cd (diff)
downloadanaconda-2526df1efb056bcf5845a36d0aef41b394a48561.tar.gz
anaconda-2526df1efb056bcf5845a36d0aef41b394a48561.tar.xz
anaconda-2526df1efb056bcf5845a36d0aef41b394a48561.zip
minor fixes
Diffstat (limited to 'lvm.py')
-rw-r--r--lvm.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lvm.py b/lvm.py
index edaff2481..a089d2e3d 100644
--- a/lvm.py
+++ b/lvm.py
@@ -72,7 +72,7 @@ def vgactivate(volgroup = None):
if flags.test or lvmDevicePresent == 0:
return
- args = ["lvm", "vgchange", "-ay", "-An"]
+ args = ["lvm", "vgchange", "-ay"]
if volgroup:
args.append(volgroup)
rc = iutil.execWithRedirect(args[0], args,
@@ -104,7 +104,7 @@ def vgdeactivate(volgroup = None):
if flags.test or lvmDevicePresent == 0:
return
- args = ["lvm", "vgchange", "-an", "-An"]
+ args = ["lvm", "vgchange", "-an"]
if volgroup:
args.append(volgroup)
rc = iutil.execWithRedirect(args[0], args,
@@ -126,7 +126,7 @@ def lvremove(lvname, vgname):
if flags.test or lvmDevicePresent == 0:
return
- args = ["lvm", "lvremove", "-f", "-An"]
+ args = ["lvm", "lvremove", "-f"]
dev = "/dev/%s/%s" %(vgname, lvname)
args.append(dev)