Detect subsystems and get root from /proc/self/mountinfo

Delete check_support and stop detecting subsystems by finding in the
root folders because the detecting method is not accurate.

Signed-off-by: Tim Zhang <tim@hyper.sh>
This commit is contained in:
Tim Zhang
2020-11-12 20:06:03 +08:00
parent fbd7164c29
commit 1f188be405
17 changed files with 83 additions and 180 deletions
+1
View File
@@ -14,6 +14,7 @@ log = "0.4"
regex = "1.1"
nix = "0.18.0"
libc = "0.2"
procinfo = "0.4.2"
[dev-dependencies]
libc = "0.2.76"