Changes for ubuntu 16.04.

This commit is contained in:
Andrew Hamilton 2016-09-27 13:30:08 +02:00
parent f2098da47c
commit b922f29e07
12 changed files with 58 additions and 73 deletions

View file

@ -54,8 +54,8 @@ def _parse_proc_mounts():
def _find_mounts():
all_mounts = set(part[1] for part in _parse_proc_mounts())
mount_points = {"/", "/usr", "/bin", "/etc", "/lib", "/dev", "/proc",
"/home", "/boot", "/opt", "/run", "/root", "/var", "/tmp"}
mount_points = {"/", "/usr", "/bin", "/etc", "/lib", "/dev", "/home",
"/boot", "/opt", "/run", "/root", "/var", "/tmp"}
return all_mounts.intersection(mount_points)