11 lines
157 B
Python
11 lines
157 B
Python
|
import os
|
||
|
mounts = [
|
||
|
"proc",
|
||
|
"sys",
|
||
|
"dev",
|
||
|
os.path.join("dev","pts")
|
||
|
]
|
||
|
|
||
|
for mount in reversed(mounts):
|
||
|
_g["umount"](os.path.join(_chroot["dir"],mount))
|