From 4b7ca29b3a22e557f51fb788c83c3cb806227415 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Tue, 13 Jul 2004 19:17:49 +0000 Subject: fix getting the raid chunk size to actually work --- partitions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'partitions.py') 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 -- cgit