|
|
|
@ -264,13 +264,9 @@ def run():
|
|
|
|
|
fs_is_supported = False
|
|
|
|
|
|
|
|
|
|
if os.path.isfile(PATH_PROCFS) and os.access(PATH_PROCFS, os.R_OK):
|
|
|
|
|
procfile = open(PATH_PROCFS, 'r')
|
|
|
|
|
with open(PATH_PROCFS, 'r') as procfile:
|
|
|
|
|
filesystems = procfile.read()
|
|
|
|
|
procfile.close()
|
|
|
|
|
|
|
|
|
|
filesystems = filesystems.replace("nodev", "")
|
|
|
|
|
filesystems = filesystems.replace("\t", "")
|
|
|
|
|
filesystems = filesystems.splitlines()
|
|
|
|
|
filesystems = filesystems.replace("nodev", "").replace("\t", "").splitlines()
|
|
|
|
|
|
|
|
|
|
# Check if the source filesystem is supported
|
|
|
|
|
for fs in filesystems:
|
|
|
|
|