if subprocess.check_output("mount | grep -i {} | wc -l".format(i[0]), shell=True).decode('utf-8')[:-1] == '0':
                    print("  Skipped: /dev/" + i[0] + " on mount point " + i[1])
                    try:
                        shutil.rmtree(i[1])
                    except: