Package: epsilon / 0.7.0-2

use-proc-mounts.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
# Use /proc/mounts instead of /etc/mtab, as this is more reliable.
--- a/epsilon/scripts/benchmark.py
+++ b/epsilon/scripts/benchmark.py
@@ -423,7 +423,7 @@
     """
     possibilities = []
     cwd = os.getcwd()
-    for L in file('/etc/mtab'):
+    for L in file('/proc/mounts'):
         parts = L.split()
         if cwd.startswith(parts[1]):
             possibilities.append((len(parts[1]), parts[0]))