Commits

Rodrigo Bistolfi committed 3c46ce9

util.py: use /proc/mounts instead mtab in is_mounted()

Comments (0)

Files changed (1)

vinstall/backend/utils.py

     """Returns true if device is mounted.
 
     """
-    with open("/etc/mtab") as mounted:
+    with open("/proc/mounts") as mounted:
         if device in mounted.read():
             return True
         else: