From a1089c00d31c145efc326968f8f06494a6885eac Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Fri, 18 Aug 2006 21:44:00 +0000 Subject: - don't call isys.flushDriveDict() from makeDriveDeviceNodes(), as it screws up dm devices in our cache --- iutil.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'iutil.py') diff --git a/iutil.py b/iutil.py index a606f7ddd..77138c9a1 100644 --- a/iutil.py +++ b/iutil.py @@ -215,7 +215,6 @@ def makeCharDeviceNodes(): # make the device nodes for all of the drives on the system def makeDriveDeviceNodes(): - isys.flushDriveDict() hardDrives = isys.hardDriveDict() for drive in hardDrives.keys(): if drive.startswith("mapper"): @@ -239,7 +238,6 @@ def makeDriveDeviceNodes(): dev = "%s%s%d" % (drive, sep, i) isys.makeDevInode(dev, "/dev/%s" % (dev,)) - isys.flushDriveDict() cdroms = isys.cdromList() for drive in cdroms: isys.makeDevInode(drive, "/dev/%s" % (drive,)) -- cgit