summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-07-13 19:17:49 +0000
committerJeremy Katz <katzj@redhat.com>2004-07-13 19:17:49 +0000
commit4b7ca29b3a22e557f51fb788c83c3cb806227415 (patch)
tree79c518e332b2a4def232f7f1dbca32350f296d3d
parent9e30977454be9bb19cfcad2d0b07728d3f3e3041 (diff)
downloadanaconda-4b7ca29b3a22e557f51fb788c83c3cb806227415.tar.gz
anaconda-4b7ca29b3a22e557f51fb788c83c3cb806227415.tar.xz
anaconda-4b7ca29b3a22e557f51fb788c83c3cb806227415.zip
fix getting the raid chunk size to actually work
-rw-r--r--partitions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/partitions.py b/partitions.py
index a5d1d2741..68ca48d7e 100644
--- a/partitions.py
+++ b/partitions.py
@@ -149,7 +149,7 @@ class Partitions:
continue
try:
- chunk = isys.getRaidChunkFromDevice(theDev)
+ chunk = isys.getRaidChunkFromDevice("/dev/%s" %(theDev,))
except Exception, e:
log("couldn't get chunksize of %s: %s" %(theDev, e))
chunk = None