summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--text.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/text.py b/text.py
index 8717eb4d5..fb9d6d839 100644
--- a/text.py
+++ b/text.py
@@ -389,7 +389,9 @@ class PartitionWindow:
fstab.append ((dev, mntpoint))
if not todo.ddruid:
- todo.ddruid = fsedit(0, todo.drives.available ().keys (), fstab)
+ drives = todo.drives.available ().keys ()
+ drives.sort ()
+ todo.ddruid = fsedit(0, drives, fstab)
dir = todo.ddruid.edit ()
for partition, mount, fstype, size in todo.ddruid.getFstab ():
todo.addMount(partition, mount, fstype)