diff options
author | Chris Lumens <clumens@redhat.com> | 2006-08-17 20:21:18 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-08-17 20:21:18 +0000 |
commit | 03abe5a091ed97fa0c582bbc5bf0af041ed42b3f (patch) | |
tree | 72ec8ca6e8e884614f2e75c249c84cb73a42d730 /iutil.py | |
parent | f630b795bd3afd2c13fc25c244a46197618135fd (diff) | |
download | anaconda-03abe5a091ed97fa0c582bbc5bf0af041ed42b3f.tar.gz anaconda-03abe5a091ed97fa0c582bbc5bf0af041ed42b3f.tar.xz anaconda-03abe5a091ed97fa0c582bbc5bf0af041ed42b3f.zip |
Flush the drive cache so we don't mistake hard drives for CD/DVD drives.
Diffstat (limited to 'iutil.py')
-rw-r--r-- | iutil.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -215,6 +215,7 @@ 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"): @@ -238,6 +239,7 @@ 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,)) |