-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows] disk_partitions(all=True) only returns mountpoints on drives where it first finds one #1598
Comments
#1776 |
Same issue I am seeing |
|
I reviewed #1776 and it does not appear related to this one. |
mx-psi
added a commit
to mx-psi/psutil
that referenced
this issue
Jun 23, 2021
This fixes giampaolo#1598; before this only the first drive partitions were gathered. Signed-off-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
mx-psi
added a commit
to mx-psi/psutil
that referenced
this issue
Jun 23, 2021
This fixes giampaolo#1598; before this only the first drive partitions were gathered. Signed-off-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
mx-psi
added a commit
to mx-psi/psutil
that referenced
this issue
Jun 23, 2021
This fixes giampaolo#1598; before this only the first drive partitions were gathered. Signed-off-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Platform
Bug description
Somewhat related to #1192
Above works but once it finds a mountpoint on a drive letter, it will not look for mountpoints on next drive letters.
Example:
Given 3 drive letters,
C:
,D:
,Z:
.case 1: mountpoints on C, D and Z
C:/mnt1/
- detected/returned by psutilC:/mnt2/
- detected/returned by psutilD:/mnt3/
- not returnedZ:/mnt4/
- not returnedcase 2: no mount points on C:
C:/
- noneD:/mnt3/
- detected/returned by psutilZ:/mnt4/
- not returnedExpectation is that all mountpoints from all drives are returned.
The text was updated successfully, but these errors were encountered: