summaryrefslogtreecommitdiffstats
path: root/partedUtils.py
diff options
context:
space:
mode:
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