Hello,

In version 1.0.1-3, the bug isn't resolved.

I propose a patch in attachment. Without it, the mount points which
aren't listed in the variable "path_order" (in FstabData file), have
"priority" of 0 (the same as "/") therefore this mount points are sorted
before /usr, /opt, etc.

Kindly,
Ghent
diff -u -r DiskManager.orig_debian/Fstab/Fstab.py DiskManager.mod_ghent/Fstab/Fstab.py
--- DiskManager.orig_debian/Fstab/Fstab.py	2009-04-20 10:55:14.000000000 +0200
+++ DiskManager.mod_ghent/Fstab/Fstab.py	2009-04-20 11:04:50.000000000 +0200
@@ -466,11 +466,11 @@
         try :
             ix =  list(FstabData.path_order).index(x)
         except ValueError :
-            ix = 0
+            ix = len(FstabData.path_order)
         try :
-            iy =  list(FstabData.path_order).index(x)
+            iy =  list(FstabData.path_order).index(y)
         except ValueError :
-            iy = 0
+            iy = len(FstabData.path_order)
         if ix > iy :
             return 1
         if ix < iy :

Reply via email to