--- a/src/eric7/SystemUtilities/FileSystemUtilities.py Sun Mar 19 12:00:40 2023 +0100 +++ b/src/eric7/SystemUtilities/FileSystemUtilities.py Sun Mar 19 16:16:28 2023 +0100 @@ -593,14 +593,10 @@ mountOutput = subprocess.run( # secok mountCommand, check=True, capture_output=True, text=True ).stdout.splitlines() - if OSUtilities.isMacPlatform(): - mountedVolumes = [ - x.split(" (")[0].split(maxsplit=2)[-1] for x in mountOutput - ] - else: - mountedVolumes = [ - x.split(" type")[0].split(maxsplit=2)[-1] for x in mountOutput - ] + mountedVolumes = [ + x.split(" type", 1)[0].split(" (", 1)[0].split(maxsplit=2)[-1] + for x in mountOutput + ] if findAll: for volume in mountedVolumes: if os.path.basename(volume).startswith(volumeName):