giampaolo / psutil

Cross-platform lib for process and system monitoring in Python
BSD 3-Clause "New" or "Revised" License
10.22k stars 1.38k forks source link

Remove disk_partitions() `maxfile` and `maxpath` fields #2405

Closed giampaolo closed 5 months ago

giampaolo commented 5 months ago

Summary

Description

Removes maxfile and maxpath fields from the namedtuple returned by disk_partitions(). Reason: if there's a NFS (network filesystem) this function can potentially take a long time to complete.