Changes for ubuntu 16.04.
This commit is contained in:
parent
f2098da47c
commit
b922f29e07
12 changed files with 58 additions and 73 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue