summaryrefslogtreecommitdiffstats
path: root/partedUtils.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-01-26 22:56:28 +0000
committerJeremy Katz <katzj@redhat.com>2006-01-26 22:56:28 +0000
commitc25c54569eed864e8a7b58a2bde7ff7525913343 (patch)
tree9de8633ab6376ad22a19e2ae1e96baa489ce4aae /partedUtils.py
parent1a6444cfbfa78a6ace63558d2c29fc38fbf754cc (diff)
downloadanaconda-c25c54569eed864e8a7b58a2bde7ff7525913343.tar.gz
anaconda-c25c54569eed864e8a7b58a2bde7ff7525913343.tar.xz
anaconda-c25c54569eed864e8a7b58a2bde7ff7525913343.zip
2006-01-26 Jeremy Katz <katzj@redhat.com>
* partedUtils.py (DiskSet.openDevices): Patch from Patrick Mansfield so that device nodes don't disappear out from under us.
Diffstat (limited to 'partedUtils.py')
-rw-r--r--partedUtils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/partedUtils.py b/partedUtils.py
index 2057e5a67..8d67e0786 100644
--- a/partedUtils.py
+++ b/partedUtils.py
@@ -891,7 +891,7 @@ class DiskSet:
for drive in self.driveList():
if drive in DiskSet.skippedDisks and not initAll:
continue
- deviceFile = isys.makeDevInode(drive)
+ deviceFile = isys.makeDevInode(drive, "/dev/" + drive)
if isys.driveIsRemovable(drive) and not flags.expert:
DiskSet.skippedDisks.append(drive)
continue