We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7c8d7b commit 1e61ea2Copy full SHA for 1e61ea2
cuda_bindings/tests/test_cufile.py
@@ -94,6 +94,7 @@ def cufileVersionLessThan(target):
94
def isSupportedFilesystem():
95
"""Check if the current filesystem is supported (ext4 or xfs)."""
96
try:
97
+ current_dir = os.getcwd()
98
# Try to get filesystem type from /proc/mounts
99
with open("/proc/mounts") as f:
100
for line in f:
@@ -103,7 +104,6 @@ def isSupportedFilesystem():
103
104
fs_type = parts[2]
105
106
# Check if current directory is under this mount point
- current_dir = os.path.abspath(".")
107
if current_dir.startswith(mount_point):
108
fs_type_lower = fs_type.lower()
109
logging.info(f"Current filesystem type: {fs_type_lower}")
0 commit comments